Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

onClick with an image on CE

Status
Not open for further replies.

Tarwn

Programmer
Mar 20, 2001
5,787
US
Having an issue here. I have a few DIV's basically looks like so:
<DIV ID=&quot;PicPos&quot;>
<IMG SRC=&quot;/images/ncmap.gif&quot; onClick = &quot;shiftEm();&quot; WIDTH=&quot;300&quot; HEIGHT=&quot;90&quot; BORDER=0 ALT=&quot;NC MAP&quot;>
</DIV>
<DIV ID=&quot;horz&quot;><IMG SRC=&quot;images/red.gif&quot; WIDTH=&quot;300&quot; HEIGHT=&quot;1&quot; BORDER=0 ALT=&quot;&quot;></DIV>
<DIV ID=&quot;vert&quot;><IMG SRC=&quot;images/red.gif&quot; WIDTH=&quot;1&quot; HEIGHT=&quot;90&quot; BORDER=0 ALT=&quot;&quot;></DIV>


The output is a map with crosshairs. The shiftem function moves the crosshairs to the clicked x,y coordinates.

Now, this works fine on desktop computer, but when i try to connect from a handheld it only accepts answers that are to the left of the vertical line, meaning the more you move the line the less room you have to click in. It does not accept anything to the right of the vertical line. These are all on the same layer now (z-index's = 0) and the only way it accepts a click to the right of the vertical line is when the map is painted on top of the lines.
Again, this works perfectly on desktops, but doesn't work on a handheld running Windows CE and internet Explorer, let me know if you have run into anything similar.

-Tarwn
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top