Reviews, updates and in depth guides to your favourite mobile games - AppGamer.com
|
|
res script |
Page: 1 | Reply |
Jul 13th 2002 | #58454 Report |
Member since: Dec 24th 2001 Posts: 222 |
can anyone tell me where i can find a script that figures out the clients resolution so i can get my site to fit right
|
Reply with Quote Reply |
Jul 14th 2002 | #58619 Report |
Member since: Mar 24th 2002 Posts: 3114 |
screen.width screen.height ^ |
Reply with Quote Reply |
Jul 14th 2002 | #58629 Report |
Member since: Dec 24th 2001 Posts: 222 |
OK so i put this script in to try for determining screen width and when my res is set to 1124 it tells me it is but when my screen res is set to 1024 or 800 it tells me its set to that and also tells me i have an error with my debugging else statement function checkWidth() { if (screen.width == 800) { alert("firstone"); } if (screen.width == 1024) { alert("secondone"); } if (screen.width == 1152) { alert("thirdone"); }else{ alert("****edup"); } } checkWidth() can anyone figure out why |
Reply with Quote Reply |
Jul 15th 2002 | #58893 Report |
Member since: Mar 24th 2002 Posts: 3114 |
that should work... :confused:
|
Reply with Quote Reply |
Page: 1 | Back to top |
Please login or register above to post in this forum |
© Web Media Network Limited. All rights reserved. No part of this website may be reproduced without written permission. Photoshop is a registered trademark of Adobe Inc.. TeamPhotoshop.com is not associated in any way with Adobe, nor is an offical Photoshop website. |