Current location: Hot Scripts Forums » General Web Coding » JavaScript » Detect the browser resolution....


Detect the browser resolution....

Reply
  #1 (permalink)  
Old 10-10-03, 11:41 AM
shady shady is offline
New Member
 
Join Date: Oct 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Detect the browser resolution....

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
Reply With Quote
  #2 (permalink)  
Old 11-06-03, 09:32 AM
TwoD TwoD is offline
Community VIP
 
Join Date: Sep 2003
Location: 404
Posts: 1,813
Thanks: 0
Thanked 0 Times in 0 Posts
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...
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
any suggestion...open another browser? aspuser25 ASP 4 08-25-04 12:59 AM
HotScritps looks ugly in my browser Flexer Hot Scripts Forum Questions, Suggestions and Feedback 5 06-25-03 06:41 AM
What can I use to update excel sheet on the fly using a browser? mysticwar PHP 1 06-17-03 01:23 AM
Different Browser Views daynah Hot Scripts Forum Questions, Suggestions and Feedback 13 06-13-03 10:04 PM


All times are GMT -5. The time now is 11:04 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.