ASP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingASP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old May 1st, 2000, 05:49 PM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
Detecting Screen Resolution?

<i><b>Originally posted by : Luke S. (lsedgeman@hotmail.com)</b></i><br />I would like to be able to detect client's screen res without using JScript. Any help would be appreciated.

Reply With Quote
  #2  
Old May 2nd, 2000, 07:28 PM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
<i><b>Originally posted by : steve</b></i><br />nternet Explorer 4.x Code:<br />You can determine both the screen size and window size in VBScript. Remember,though, that this works only for IE 4.x.<br /><br /><SCRIPT><br /><!--<br /> alert("Screen width = " & screen.width & " pixels.")<br /> alert("Screen height = " & screen.height & " pixels.")<br /> alert("Client Width = " & document.body.clientWidth & " pixels.")<br /> alert("Client Height = " & document.body.clientHeight & " pixels.")<br /><br />--><br /></SCRIPT><br /><br /><br /><br /><br /><br />--------------------------------------------------------------------------------<br /><br />Netscape 3.x and Up Code:<br />You can determine the screen size only through JavaScript.<br /><br /><SCRIPT><br /><!--<br /> if (navigator.javaEnabled()) {<br /> var toolKit = java.avt.Toolkit.getDefaultToolkit();<br /> var screenSize = toolKit.getScreenSize();<br /><br /> alert("Screen width = " + screenSize.width + " pixels.");<br /> alert("Screen height = " + screenSize.height + " pixels.");<br /> }<br /><br />--><br /></SCRIPT><br /><br /><br /><br />------------<br />Luke S. at 5/1/2000 3:49:51 PM<br /><br />I would like to be able to detect client's screen res without using JScript. Any help would be appreciated.

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingASP Development > Detecting Screen Resolution?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT