|
Posted by Jukka K. Korpela on 07/05/07 21:41
Scripsit johnebullock@hotmail.com:
> I am using an image input object to return the coordinates of a mouse
> click in a form submit. This is working fine with one exception.
You mean people who cannot click on a particular location because they are
using a speech browser or they suffer from motoric disability or they lack a
mouse right now or they just don't understand the concept?
> In IE the (x,y) are relative to the image, but in Firefox they are
> relative to the frame.
Frame? What frame? Why don't you post a URL?
> Here is the html from the page:
>
> <INPUT TYPE='image' STYLE='position:absolute;left:70;top:34;'
> ID='lbl_image' NOSAVE ALIGN='top' BORDER='0' WIDTH='300' HEIGHT='100'
> SRC='../../../cgi-bin/gtrtlm/c_lbl_image.cgi>
It's invalid markup, and it contains incorrect CSS code (the declarations
for left and top are ignored by conforming browsers), so what can you
expect?
--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/
Navigation:
[Reply to this message]
|