This project is archived and is in readonly mode.

#1050 ✓wontfix
Jérémy Lecour

image_submit_tag mouseover helper

Reported by Jérémy Lecour | September 15th, 2008 @ 02:08 PM | in 2.x

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", …

Comments and changes to this ticket

  • Pratik

    Pratik December 19th, 2008 @ 02:36 PM

    • State changed from “new” to “wontfix”

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

    Thanks.

  • Brian Burridge

    Brian Burridge March 12th, 2009 @ 09:01 PM

    • 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.

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Tags

Pages