Scripsit Daniel Rudy:
> Here's a strange one...
Why no URL?
> <input type="image"
Why? <input type="submit"> works _so_ much better. See
http://www.cs.tut.fi/~jkorpela/forms/imagebutton.html
> name="menuselect"
Traditional wisdom says that the for <input type="image">, the name
attribute should be informative, because some user agents may use its
value in place of the image.
> alt="User Admin"
That's cryptic.
> onmouseover="toolTip('<img src=/menu/icon/icon_users1.png height=32px
> width=32px align=top> Edit the user database.')"
> onmouseout="toolTip()">
That's probably irrelevant to the problem at hand, but the old wisdom
says that if an element "needs" a tooltip, the page needs redesign. If
there's some essential information, it should be hidden in a tooltip
that may or may not be displayed, depending on browser configuration and
properties.
> In the Gecko browsers (Netscape, FF, Seamonkey, Safari, Flock, etc...)
> when I click on that image, the browser submits the contents of the
> value field to the server in the post operation, along with the X,Y
> coordinate that was clicked.
That's what happens under the new interpretation of the HTML
specification.
> But in IE and Opera, I only get the coordinates...
That's the old interpretation.
> Is this a quirk of IE and Opera or what?
No.
> If you just click on it, the page refreshes per
> the code...since it's looking for menuselect and not menuselect_x,
> menuselect_y.
Use <input type="submit">, Luke.
--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/


|