(Apologies if a previous message was posted inadvertently. My finger
slipped on the enter key.)
While converting a static HTML prototype to Rails I changed a bunch of
alinks from this:
<a href="find.html"><img src='/images/findTab.jpg' alt="Find"
to the more Railsesque construction shown here:
<%= link_to(image_tag('findTab.jpg', :alt => 'Find an item'), :action
=> 'Find') %>
Sharp-eyed readers will note that the class="rollover" attribute,
How can I restore the class="rollover" attribute if image_tag doesn't
support it, or at least get the rollover behavior back somehow?