I have a div that is getting updated by periodically_call_remote.
When this div is updated I want it to fade in. I know prototype will handle this but I am not sure how.
for example:
periodically_call_remote(:url => ‘update’, :frequency => ‘5’, :update => ‘ticker’)
When this content is updated I want it to fade in and fade out so the transitions looks smooth.
Use callbacks to call some javascript that will take care of the fade in and out.
… or something similar
See the documentation :
To do the fadeIn and out, prototype or jQuery will do the trick just fine.