PDA

View Full Version : Is there a PHP or HTML script to...



Pawf
28-08-2005, 09:24 AM
Is there a PHP or HTML script that you can use to decide which layout a user sees.
For example if their resolution is 800x600 the layout the site loads is 800x600 pixels, the same goes for like 1024x768 etc etc.
I would be very grateful, all I have had up to know it a link on the homepage for different resultions

Mentor
28-08-2005, 10:39 AM
athogh in theary it would be easy to do, php lacks a function to get the persons screen resoltion, as this can only be done client side, aka with javascript, there are fuctions wich by use of cookies can tranfer the resoltion, to php, athogh that has issues with copatibly, so id avoid useing it "/ best bets just make the layout reszibale so it can change itself to match screen resolktions "/

U could also use javascript itself to redirect to another page from a spash page that no one would actly see, to achive this also wich may work "/

Want to hide these adverts? Register an account for free!