Jump to content

Crash


jaymc

Recommended Posts

I have this script that runs every second in a page

 

window.setTimeout('doscroll()',1000);

function doscroll() {

objDiv = document.getElementById("dvB");

var intY = objDiv.scrollTop;

var intE = objDiv.scrollHeight;

objDiv.scrollTop = objDiv.scrollHeight+900;

window.setTimeout('doscroll()',1000);

}

 

Since javascript is client side do you think inevertably its going to crash the browser on a ball park figure ot clients PC's?

 

 

Link to comment
https://forums.phpfreaks.com/topic/65980-crash/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.