<script>
var i=0
function xx(e){
e.style.cursor="progress"
i++;
if(i==4)
{i=1}
switch(i)
{
case 1:
e.style.cursor="progress"
break
case 2:
e.style.cursor="wait"
break
case 3:
e.style.cursor="sw-resize"
break
case 4:
e.style.cursor="crosshair"
break
}}</script>
<body style="cursor:pointer">
<img src="1.jpg" width="500" height="100" onmouseover="xx(this)">
</body>
var i=0
function xx(e){
e.style.cursor="progress"
i++;
if(i==4)
{i=1}
switch(i)
{
case 1:
e.style.cursor="progress"
break
case 2:
e.style.cursor="wait"
break
case 3:
e.style.cursor="sw-resize"
break
case 4:
e.style.cursor="crosshair"
break
}}</script>
<body style="cursor:pointer">
<img src="1.jpg" width="500" height="100" onmouseover="xx(this)">
</body>
e.style.cursor="url('http://5211.91.tc/imcur/097.ani')"
}
当触发onmouseover事件的时候~~~
'http://5211.91.tc/imcur/097.ani'路径的图片只显示一次,
当下次在触发onmouseover事件的时候就再也没有反应了???