javascript change mouse cursor on hover code example
Example 1: on hover change cursor
li {
cursor: pointer;
}
Example 2: how to change cursor in css on hover
/* I am using buttion id test. You can use whatever you want*/
/* If you want default cursors, use */
#test:hover{
cursor: pointer /* etc*/;
}
/* If you want custom cursors, use */
#test:hover{
cursor: url(default.png) /* the default is your photo*/;
}
Example 3: show hand icon on hover javascript
li { cursor: pointer; }