Nicholas Wieland
2006-Jul-26 16:00 UTC
[Rails] how do I change color to an highlight effect ?
This is my code:
<%= form_remote_tag :url => { :action => "forgot_account" },
:update
=> "result",
:complete => visual_effect(:highlight, "result", :duration =>
2, :startcolor => "#c8e673", :endcolor => "#9db55d")
%>
If I remove colors to the effect everything works, but with this code
it renders on another page ...
TIA,
ngw
--
Nicholas Wieland
nicholas_wieland@yahoo.it
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://wrath.rubyonrails.org/pipermail/rails/attachments/20060726/fc73f891/attachment.html
Nicholas Wieland
2006-Jul-26 16:24 UTC
[Rails] how do I change color to an highlight effect ?
Il giorno 26/lug/06, alle ore 10:50, Nicholas Wieland ha scritto:> This is my code: > > <%= form_remote_tag :url => { :action => > "forgot_account" }, :update => "result", > :complete => visual_effect(:highlight, "result", :duration => > 2, :startcolor => "#c8e673", :endcolor => "#9db55d") %> > > If I remove colors to the effect everything works, but with this > code it renders on another page ...Solved :) :startcolor => ''"#color"'' The additional quote was missing. -- Nicholas Wieland nicholas_wieland@yahoo.it -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060726/061de4b4/attachment.html