Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

image_submit_tag mouseover helper

#1050

it's very usefull to give a ":mouseover" attribute to the "image_tag" helper to have an automatic roll-over switch.

"image_submit_tag" doesn't understand this attribute, it's too bad.

I'll try to submit a path to it.

By the way, there are many more JS events that could be understood by "image_submit_tag" and "image_tag", like ":mousedown", ":mouseup", …

Reported by Jérémy Lecour · September 15th, 2008 @ 02:08 PM

State: wontfix
Milestone: 2.x
Assigned to: nobody
Importance: none

Activity

  1. Pratik
    Pratik
    • State changed from new to wontfix

    I don't really think it belongs in core. You should just write custom helpers.

    Thanks.

    December 19th, 2008 @ 02:36 PM

  2. Brian Burridge
    Brian Burridge
    • Title changed from image_submit_tag mouseove helper to image_submit_tag mouseover helper

    @Pratik

    Currently, image_tag allows :mouseover. Couldn't :mouseover also be added to image_submit_tag if for no other reason than to be consistent? It's intuitive to think that if it works for one it will work for the other.

    March 12th, 2009 @ 09:01 PM