I’m making a web application for a touchscreen. This means i don’t need a mouse on the screen!
I’m using cursor:none; to hide the cursor in the entire page, but somehow this doesn’t work on an image map area.
each area is made as followed:
<area shape="rect" onclick="buttonPressed_DigitalKeyboard('Q');" coords="14,13,94,93" alt="" href="#">
The cursor does change to a normal pointer when i delete the href="#" but the href is necessary for the validation.
See this Fiddle for an example
Any suggestions?
[EDIT] I forgot to mention: i’m restricted to Google Chrome! (HTML5 FileSystem support and some other options i’m using)
[EDIT 2]
The Hack: Using a 1×1 pixel with an opacity of 1 that Greger mentioned doesn’t seem to work either
jsFiddle 2
http://jsfiddle.net/BaEks/
Add cursor:none; for area-tags
or:
[UPDATE]
Use javascript instead of map/area-tags
Example:
See: http://jsfiddle.net/RadVp/1/