javascript - How do I keep the cursor style the same WHEN the mouse is held down? -


this question has answer here:

okay, know css change cursor style in overall page... not problem. made js program paint program... when have mouse held down , have color selected paints paint area of screen. however, once hold mouse down changes looking cursor (text style may called?).

how can keep cursor pointer or default no matter happening mouse? tried researching , nothing found working. not know jquery yet, js. if has insight let me know. please understand beginner js.

thanks in advance.

'your element':active {    cursor: pointer !important; } 

Comments

Popular posts from this blog

c++ - CryptStringToBinary API behavior -

c++ - Correct method for redrawing a layered window -

java.util.scanner - How to read and add only numbers to array from a text file -