Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2005
    Location
    Sheffield
    Posts
    2,288
    Tokens
    1,686

    Latest Awards:

    Default Is there a PHP or HTML script to...

    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

  2. #2
    Join Date
    Aug 2004
    Location
    UK
    Posts
    11,283
    Tokens
    2,031

    Latest Awards:

    Default

    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 "/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •