der_tom
(der_tom)
1
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
Jason_King
(Jason King)
2
Tom, this is a question for the talk list, not the core list.
der_tom
(der_tom)
4
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’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.