You are 1 of 18 Active ASP Visitors
  ASP Home  |  Resources  |  Write a Review  |  My Favor-Its  |  Login
Share on Facebook Tweet this! Share on Google+ Share on LinkedIn Add to   Add to StumbleUpon eee

Resource Menu
This code solves the problem of capturing a users screen resolution and containing it within a variable.I needed to change the font size on the page depending on the screen resolution of the user with redirecting them to an 800x600 ver of my page. Code: ASP 3.0 & VBScript


User Reviews   
   Authentic (1)  Anonymous (1) 

Overall Rating:
Codango PHP, ASP .NET, JSP Scripts, Resources, Reviews
Click to Read Reviews
Great code EXCEPT    
Written by Terry Martin from Joplin, MO   (Friday, September 16, 2005)
Writer is with:
Strengths:   quick and efficient  
Weaknesses:   a possible error in the javascript portion  
Details:   I tested the script and found one small problem within the javascript... you must change the "res" to "scr". Old code: <script language="javascript"> scr = "&res="+screen.width+"x"+screen.height+"&d="+screen.colorDepth location.href="default.asp?screen=check"+res </script> New code: <script language="javascript"> scr = "&res="+screen.width+"x"+screen.height+"&d="+screen.colorDepth location.href="default.asp?screen=check"+scr </script> Notice the change from screen=check"+res to screen=check"+scr. This should fix any problems for you as it did for me (a novice at javascript).
Review Based On:   1 Hour(s) of usage  

Great Code    
Written by Anonymous User (#1669-223) from Nova scotia, Canada   (Monday, December 02, 2002)
Strengths:   Very easy and does what I need.  
Weaknesses:   none  
Details:   I have a site...witch unfortunately does look that well in 640x480 and I didnt want to redirect my user to another version of my page. I used this code for so many things alreay... thumbs-up
Review Based On:   2 Day(s) of usage  




  Link to Us  |  About Us   Advertise  |  Contact Us  |  Website Help  
Write a User Review Today!
Its Fun, Fast, and Easy!
Web site monitoring by Web Site Monitor - for Android

2015 InfoVertica, LLC, All Rights Reserved *