i have a box of content on my site that i would like to fade out, load new content and then fade back in with the new content. i tried something like this: <%= link_to_remote(image_tag(url_for_file_column(''project'', ''image'')), :update => ''project-info'', :before => "new Effect.Fade(''project-info'')", :success => "new Effect.Appear(''project-info'')", :url => { :action => ''show_project'', :id => @project }) %> but it doesn''t do what i want it to. it blinks several times and then just disappears altogether. is there a simple way to accomplish this type of effect? -- Posted via http://www.ruby-forum.com/.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, Jun 22, 2006 at 09:26:12PM +0200, Josh Kieschnick wrote:> it blinks several times and then just disappears altogether. is there > a simple way to accomplish this type of effect?Start with: http://blog.railsdevelopment.com/pages/effect/queue/ You''ll probably also need to pass a restorecolor to your effect to keep them from resetting in the middle of the sequence. - -- Peter Harkins - http://push.cx -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: If you don''t know what this is, it''s OK to ignore it. iD8DBQFEmvtua6PWv6+ALKoRAq0yAJ9bXVC0X4gT4wu9R+4Vm7Xq6M2axgCeOJTk fremz4mG4itzKfu0Ko0PAD4=JjLc -----END PGP SIGNATURE-----