Quantcast
Channel: Hiding the mouse cursor when idle using JavaScript - Stack Overflow
Browsing all 8 articles
Browse latest View live

Answer by Andrew for Hiding the mouse cursor when idle using JavaScript

I have found a simple work-around to intermittent no-cursor problem, is to create a transparent <div id="overlay"> </div> as the last element on the page, and set the css style properties...

View Article



Answer by Lovro for Hiding the mouse cursor when idle using JavaScript

If anyone still looking for answer in 2019 (as did I), this approach works on FF 71 and Chrome 78:var DEMO = { INI: { MOUSE_IDLE: 3000 }, hideMouse: function() { $("#game").css('cursor', 'none');...

View Article

Answer by cby016 for Hiding the mouse cursor when idle using JavaScript

This worked for me (taken from https://gist.github.com/josephwegner/1228975).Note reference to an html element with id wrapper.//Requires jQuery -...

View Article

Answer by Jeremy for Hiding the mouse cursor when idle using JavaScript

In my kiosk apps, to make sure no "pressed" characters are lost on a move out of screen-saver (they are usually sent to the PC via a bar code scanner or rfid reader) and to ensure the screen comes back...

View Article

Answer by Codler for Hiding the mouse cursor when idle using JavaScript

There is a jquery plugin idletimer that checks if a user is inactive or not.

View Article


Answer by Tim Down for Hiding the mouse cursor when idle using JavaScript

The following works for me in Firefox 3.6.13 so long as the cursor is over an actual element that doesn't have a non-default cursor (so it doesn't work if the cursor is over a form element or link, for...

View Article

Answer by Joey for Hiding the mouse cursor when idle using JavaScript

In CSS 2 none is not a valid value for the cursor property. It is valid in CSS 3, however.Otherwise you might be able to use a custom cursor loaded from a URI that is simply transparent. I would...

View Article

Hiding the mouse cursor when idle using JavaScript

Is it possible to use JavaScript to set the cursor attribute to the property none if the mouse is inactive for a certain amount of time (say, five seconds) and set it back to auto when it becomes...

View Article

Browsing all 8 articles
Browse latest View live




Latest Images