PDA

View Full Version : ReLoading Script is making curser go crazy



c_fqgy
Mar 17th, 2007, 01:43 AM
Hello,
I have a script that I downloaded off the internet that scrolls an image continuously. The only problem I'm encountering with it is that in explorer the curser is flashing with the hour glass and can be very distracting. Iím hoping that I can get help to stop the curse from flashing like it is.

You can find my site here:
http://www3.telus.net/public/surekiss/index.htm
Please be advised that a popup menu will popup about the dropdown menus. This is because it is on a testing site not its registered site.


var pos=0, speed=50;
window.onload=function() {scrollIt(); }



function scrollIt() {

document.getElementById('scroller1').style.backgroundPosition='0px ' + pos +'px';
pos--; // specifies left / right or top / bottom.
setTimeout('scrollIt()',speed);

c_fqgy
Apr 6th, 2007, 12:12 AM
Bump! I would still really appreciate any help:thumbsup:

antimatter15
Apr 6th, 2007, 03:10 AM
Bump! I would still really appreciate any help:thumbsup:
document.body.style.cursor = 'default';
to change it back to normal.

c_fqgy
Apr 9th, 2007, 06:41 PM
Is there a specific place to put it? I tried putting it at the end:


<script type="text/javascript">
<!--
var pos=0, speed=50;
window.onload=function() {scrollIt(); }



function scrollIt() {

document.getElementById('scroller1').style.backgroundPosition='0px ' + pos +'px';
pos--; // specifies left / right or top / bottom.
setTimeout('scrollIt()',speed);
document.body.style.cursor = 'default';
}
//-->
</script>

<script language="JavaScript" type="text/JavaScript">
<!--


And nothing changed so I tried it at the beginning:


<script type="text/javascript">
<!--
document.body.style.cursor = 'default';
var pos=0, speed=50;
window.onload=function() {scrollIt(); }



function scrollIt() {

document.getElementById('scroller1').style.backgroundPosition='0px ' + pos +'px';
pos--; // specifies left / right or top / bottom.
setTimeout('scrollIt()',speed);

}
//-->
</script>

<script language="JavaScript" type="text/JavaScript">
<!--


And it totally stopped everything. I also tried putting it in its own script area before the scroller script but it was only worst then before.

Thanks very much for your help I really appreciate your taking the time.

Jenna