javascript - Onmouseover cursor doesn't change in IE -


this js code:

    <script type="text/javascript">        function leftcur(elem) {           elem.style.cursor = 'url("izgled/slike/right.png"), auto';        };     </script> 

and part of html code:

<div class="mainleft" onmouseover="leftcur(this)"> 

when hover mouse on div, mouse pointer changes picture, works in chrome , ff doesn't in ie.

thx.

at least versions of internet explorer not support .png or .gif cursors.

mdn has great reference here

try using .cur cursor instead.


Popular posts from this blog

Php - Delimiter must not be alphanumeric or backslash -

Delphi interface implements -

java - How to create Table using Apache PDFBox -