PDA

View Full Version : Detect the browser resolution....


shady
10-10-03, 12:41 PM
I was lookin to have a script which can detect the browser not while loading the page, but while user read the page, so if user changed the resolution while he is in the same page, page make refresh automaticlly.
Is there is any script could do that.
Your fast reply is highly appreciated....

Shady

TwoD
11-06-03, 10:32 AM
You could use the setInterval(code,time_in_milliseconds) method to start a function which checks the height and width of the page.
If you look through a JavaScript reference page you'll find out which properties under which object to check...