Check out my project on jsFiddle
I am developing a web application specifically for touchscreen devices, which eliminates the need for a mouse on the screen.
To hide the cursor throughout the entire page, I am using cursor:none;
. However, this method does not work on an image map area.
Each area is created as follows:
<area shape="rect" onclick="buttonPressed_DigitalKeyboard('Q');" coords="14,13,94,93" alt="" href="#">
The cursor reverts to a normal pointer when I remove the href="#"
, but the href attribute is required for validation purposes.
You can view an example of the issue in this Fiddle
Do you have any suggestions?
[EDIT] Please note that I am limited to working with Google Chrome due to HTML5 FileSystem support and other necessary features.
[EDIT 2]
The workaround mentioned by Greger, using a 1x1 pixel with an opacity of 1, also did not resolve the issue
View updated version on jsFiddle