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!


Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14
  1. #11
    Join Date
    May 2009
    Posts
    117
    Tokens
    0

    Default

    Here's the best solution:
    dont do it.

    It sounds very unnecessary.

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

    Latest Awards:

    Default

    Hey, additional solution since im more awake now. Just use the php with the css file. Simply make your css file a .php, add my code to it, but inline with your other css and it should work.

    Additionall at the top of the doucment you may wana set header to make sure browser recognises it as css file

    aka at top of css page have

    <?php header('Content-type: text/css'); ?>

  3. #13
    Join Date
    Sep 2007
    Location
    England
    Posts
    3,602
    Tokens
    500

    Latest Awards:

    Default

    Quote Originally Posted by Brixsta View Post
    Here's the best solution:
    dont do it.

    It sounds very unnecessary.
    1) It's needed
    2) It's your crap post that's very unnecessary.

    Quote Originally Posted by Mentor View Post
    Hey, additional solution since im more awake now. Just use the php with the css file. Simply make your css file a .php, add my code to it, but inline with your other css and it should work.

    Additionall at the top of the doucment you may wana set header to make sure browser recognises it as css file

    aka at top of css page have

    <?php header('Content-type: text/css'); ?>
    Thanks, ill try it now
    The other day I was in a toilet.
    A voice came from the cubicle next to me: "Hello mate, how are you doing?"
    I didn't want to be rude, so I said, "Not too bad, thanks."
    I heard the voice again. "So, what are you up to?"
    Again I answered, "Just having a quick ****... How about yourself?"
    Then I heard him say "Sorry, mate, I'll have to call you back. I've got some **** in the cubicle next to me answering everything I say."

  4. #14
    Join Date
    Feb 2007
    Posts
    34
    Tokens
    0

    Default

    <script>

    var now = new Date();
    var hours = now.getHours();
    var psj=0;

    //18-19 night
    if (hours > 17 && hours < 20){
    document.write('<body bgcolor="orange" text="#FFFFFF">')
    }

    //20-21 night
    if (hours > 19 && hours < 22){
    document.write('<body bgcolor="orangered" text="#FFFFFF">')
    }

    //22-4 night
    if (hours > 21 || hours < 5){
    document.write('<body bgcolor="black" text="#FFFFFF">')
    }

    //9-17 day
    if (hours > 8 && hours < 18){
    document.write('<body bgcolor="deepskyblue" text="#FFFFFF">')
    }

    //7-8 day
    if (hours > 6 && hours < 9){
    document.write('<body bgcolor="skyblue" text="#FFFFFF">')
    }

    //5-6 day
    if (hours > 4 && hours < 7){
    document.write('<body bgcolor="steelblue" text="#FFFFFF">')
    }


    //-->
    </script>
    I will code layouts in Ajax, Divs, Expandable or basic your choice - Pm me for cheap price, I beat most prices on coding

    ExtenHost.com & HabboHotelFM.com Owner

Page 2 of 2 FirstFirst 12

Posting Permissions

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