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

How to calculate SNR of signals in MATLAB? -

java - How to create Table using Apache PDFBox -

c# - Attempting to upload to FTP: System.Net.WebException: System error -