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 18 of 18
  1. #11
    Join Date
    May 2005
    Location
    /etc/passwd
    Posts
    19,110
    Tokens
    1,139

    Latest Awards:

    Default

    Why, its just 2 Different colours of the word 'Habbo' ??? :S
    Quote Originally Posted by Chippiewill View Post
    e-rebel forum moderator
    :8

  2. #12
    Join Date
    Aug 2005
    Location
    London
    Posts
    9,773
    Tokens
    146

    Latest Awards:

    Default

    Quote Originally Posted by Jaffa Cakes! View Post
    Why, its just 2 Different colours of the word 'Habbo' ??? :S
    Ill do other images aswell its jsut one particular example :rolleyes:

  3. #13
    Join Date
    May 2005
    Location
    /etc/passwd
    Posts
    19,110
    Tokens
    1,139

    Latest Awards:

    Default

    http://automaticlabs.com/products/rotator will do it, and it had some neat instructions
    Quote Originally Posted by Chippiewill View Post
    e-rebel forum moderator
    :8

  4. #14
    Join Date
    Aug 2005
    Location
    London
    Posts
    9,773
    Tokens
    146

    Latest Awards:

    Default

    Quote Originally Posted by Jaffa Cakes! View Post
    http://automaticlabs.com/products/rotator will do it, and it had some neat instructions
    lol thanks :]

  5. #15
    Join Date
    May 2005
    Location
    /etc/passwd
    Posts
    19,110
    Tokens
    1,139

    Latest Awards:

    Default

    Np I just google'd 'Image Rotator'
    Quote Originally Posted by Chippiewill View Post
    e-rebel forum moderator
    :8

  6. #16
    Join Date
    Jul 2004
    Location
    Hertfordshire
    Posts
    2,111
    Tokens
    147

    Latest Awards:

    Default

    Quote Originally Posted by Jaffa Cakes! View Post
    Np I just google'd 'Image Rotator'
    Google saves the day once again!

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

    Latest Awards:

    Default

    Quote Originally Posted by --ss--2 View Post
    I basicly want to display this image : then on refresh it changes to

    Just like on http://www.habbotools.de/ under the nav the image changesafter refresh :]

    will both thoose script to that? :p
    Both scripts will.. you could even do it in javascript if you wanted, although theres no garentee of change with these as the two provied were randomisers not rotators, easy to change though.

  8. #18
    Join Date
    Nov 2005
    Posts
    807
    Tokens
    1,335

    Latest Awards:

    Default

    Place this at the top of your page:
    PHP Code:
    <?php
    session_start
    ();
    header("Cache-Control: no-cache, must-revalidate"); // Stop cache
    header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Expire in the past
    ?>
    then use this where you want the images to be shown:
    PHP Code:
    <?php
    $img1 
    "imagetwo.gif";
    $img2 "imageone.gif";
    if(!
    $_SESSION['image']) {
    echo 
    "<img src=\"$img1\" />";
    $_SESSION['image'] = "1";
    }
    else {
    if(
    $_SESSION['image']=="1") {
    echo 
    "<img src=\"$img2\" />";
    $_SESSION['image'] = "2";
    }
    elseif(
    $_SESSION['image']=="2") {
    echo 
    "<img src=\"$img1\" />";
    $_SESSION['image'] = "1";
    }
    }
    ?>
    so each time the person refreshes the page the other image will show up. Since Carl and Tim's scripts are completely random where are this will show image 1 then 2 then 1. Im not sure about the cacheing stuff but I think it works.
    Last edited by Splinter; 03-03-2007 at 07:54 PM.

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
  •