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 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1
    Join Date
    Aug 2005
    Location
    Spain
    Posts
    1,367
    Tokens
    0

    Latest Awards:

    Default Javascript i think

    Hey is this right but i don't get it i think i got the code it's for banners changing etc. so i can have more than 1 banner going through like flash

    <script language="JavaScript">
    <!--
    var SymRealOnLoad;
    var SymRealOnUnload;
    function SymOnUnload()
    {
    window.open = SymWinOpen;
    if(SymRealOnUnload != null)
    SymRealOnUnload();
    }
    function SymOnLoad()
    {
    if(SymRealOnLoad != null)
    SymRealOnLoad();
    window.open = SymRealWinOpen;
    SymRealOnUnload = window.onunload;
    window.onunload = SymOnUnload;
    }
    SymRealOnLoad = window.onload;
    window.onload = SymOnLoad;
    //-->
    </script>


    I have that but where do i put banner url if you get me + rep if you help!

  2. #2
    Join Date
    Jul 2006
    Posts
    185
    Tokens
    0

    Default

    what do you mena you thinkj it is

  3. #3
    Join Date
    Jun 2005
    Posts
    4,795
    Tokens
    0

    Latest Awards:

    Default

    Lol. Thats nothing like a banner change code.

  4. #4
    Join Date
    Feb 2006
    Location
    Newcastle
    Posts
    397
    Tokens
    0

    Default

    <script language="JavaScript">
    <!--
    function random_imglink(){
    var myimages=new Array()
    //specify random images below. You can have as many as you wish
    myimages[1]="images/1.gif"
    myimages[2]="images/2.gif"
    myimages[3]="images/3.gif
    var ry=Math.floor(Math.random()*myimages.length)
    if (ry==0)
    ry=1
    document.write('<img src="'+myimages[ry]+'" border=0>')
    }
    random_imglink()
    //-->
    </script>

  5. #5
    Join Date
    Apr 2006
    Location
    England
    Posts
    1,159
    Tokens
    0

    Latest Awards:

    Default

    The script above is a rotating image script which picks a random image upon (re)load. You can also get ones which fade from image to image and they let you specify the amount of seconds you are going to make your visitors wait between transitions.

  6. #6
    Join Date
    Aug 2005
    Location
    Spain
    Posts
    1,367
    Tokens
    0

    Latest Awards:

    Default

    http://www.europehabbo.com/testing1.htm hmmm don't seem to show

  7. #7
    Join Date
    Jun 2005
    Posts
    4,795
    Tokens
    0

    Latest Awards:

    Default

    Code:
    myimages[1]="http://www.europehabbo.com/advertisement/djnelson"
    myimages[2]="http://www.europehabbo.com/advertisement/djnelsonanddjspindro"
    myimages[3]="images/3.gif
    The first two are not valid images and they dont exsist. Also you dident close the " on the 3rd image.
    Edit: The 3rd image doesnt exsist as well.
    Last edited by Tomm; 02-07-2006 at 12:16 PM.

  8. #8
    Join Date
    Feb 2006
    Location
    Newcastle
    Posts
    397
    Tokens
    0

    Default

    Oh right, you want images into flash basically?

  9. #9
    Join Date
    Aug 2005
    Location
    Spain
    Posts
    1,367
    Tokens
    0

    Latest Awards:

    Default

    Lol i forgot .gif
    Quote Originally Posted by Organised
    Code:
    myimages[1]="http://www.europehabbo.com/advertisement/djnelson"
    myimages[2]="http://www.europehabbo.com/advertisement/djnelsonanddjspindro"
    myimages[3]="images/3.gif
    The first two are not valid images and they dont exsist. Also you dident close the " on the 3rd image.
    Edit: The 3rd image doesnt exsist as well.

  10. #10
    Join Date
    Jun 2005
    Posts
    4,795
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by nelly
    Lol i forgot .gif
    http://www.europehabbo.com/advertisement/djnelson.gif

    They still dont exsist. You need to upload them you know?

Page 1 of 2 12 LastLast

Posting Permissions

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