Janna,
image_submit_tag has a nasty effect of not applying rollover but I got
it to work by calling javascript directly:
<%= image_submit_tag('/images/your_main_image.jpg',
:title => "Search",
:class => "btnsearch",
:onmouseover =>
"this.src='/images/your_rollover_image.jpg'",
:onmouseout => "this.src='/images/your_main_image.jpg'") %>
--
Posted via http://www.ruby-forum.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
-~----------~----~----~----~------~----~------~--~---