you're hiding the div when you use the fade effect. so the next time you submit the form, the div is changed but it's hidden. try showing the div before the highlight effect.
On Thu, Feb 17, 2011 at 2:25 AM, tom <[email protected]> wrote: > hi, > > following code: > > page.replace_html "divNotifier#{params[:m].to_i}", "Notification email got > sent out!" > page.visual_effect :Highlight, "divNotifier#{params[:m].to_i}" , :duration > => 3 > page.visual_effect :fade, "divNotifier#{params[:m].to_i}", :duration => 2, > :delay => 10 > > > works only the first time, another press on the submit_tag for the > remote_form doesnt work... > > i dont see it > anyone? > thx > > > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > -- ------------------------------------------------------------- visit my blog at http://jimlabs.heroku.com -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

