Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8714153
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T05:31:24+00:00 2026-06-13T05:31:24+00:00

jsFiddle I’m making a web application for a touchscreen. This means i don’t need

  • 0

jsFiddle

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

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T05:31:26+00:00Added an answer on June 13, 2026 at 5:31 am

    http://jsfiddle.net/BaEks/

    Add cursor:none; for area-tags

    or:

    * {
      cursor: none;
    }
    

    [UPDATE]

    Use javascript instead of map/area-tags

    Example:

    $("img#appkeyboard").click(function(e) {
        var off = $(this).offset();
        var cx = e.clientX - off.left;
        var cy = e.clientY - off.top;
        if (cy > 17 && cy < 99) { // 1 row
            if (cx > 17 && cx < 99) {
                alert("button Q is pressed!");
            } else if (cx > 56 && cx < 202) {
                alert("button W is pressed!");
            }
            // ....
        } else if (cy > 114 && cy < 195) { // 2 row
            if (cx > 52 && cx < 135) {
                alert("button A is pressed!");
            } else if (cx > 155 && cx < 237) {
                alert("button S is pressed!");
            }
            // ....
        } else if (cy > 211 && cy < 291) { // 3 row
            if (cx > 90 && cx < 170) {
                alert("button Z is pressed!");
            }
            // ....
        }
    });
    

    See: http://jsfiddle.net/RadVp/1/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

jsFiddle I'm trying the get the ID of a button using $(this).id , but
jsFiddle is provided for better illustration. In this case I am using two plugins:
jsFiddle for this question I am currently using bootstrap modal, which is a jQuery
jsfiddle is here: http://jsfiddle.net/M86nA/ code is this: $('div.wrap').click(function(){ var $minY = $('div.imgur-wrap').height(); if ($minY
jsFiddle In this example the two quotes both have the same width. What I
http://jsfiddle.net/mJxn4/ This is very odd: I have a few lines of text wrapped in
http://jsfiddle.net/maximus392/gcQmM/7/ My problem is that the resizable image is making the other image to
jsFiddle I'm using a jQuery plugin that allows the user to draw boxes in
jsfiddle: http://jsfiddle.net/UenFN/ . Notice the slight, brief pixelation after the animation. This error only
jsfiddle example here . In this example, I just want to overlap JOIN US

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.