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 1 of 1
  1. #1
    Join Date
    Jan 2005
    Location
    LDN: Pow Pow
    Posts
    477
    Tokens
    0

    Default Tutorial On Pop Up Websites..

    Right, as we all know pop up webbies are fun in a sense. So herees a script on how to insert a pop up for either a website or just for a piece of infomation to appear in a pop up.

    Copy this code into your html doccument at the top.
    <HEAD>



    <SCRIPT LANGUAGE="JavaScript">



    <!-- Begin

    function popUp(URL) {
    day = new Date();
    id = day.getTime();
    eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,men ubar=0,resizable=0,width=600,height=600,left = 212,top = 84');");
    }
    // End -->
    </script>

    Next Use this code to find the url. insert where you want the hyperlink.

    <A HREF="javascript:popUp('Url Here')">Text</A>

    Replace url here with the doccument you want to pop up.
    Replace Text with the text you want to show up.
    Change The Width And Hieght Accordingly to pop up size
    Last edited by lil-rarez; 16-04-2005 at 08:38 PM.
    PArt Of The Cobra Unit: Habbo

    Back: Because trben convinced me into the cobra unit!: Plays Snake Eater!

    Click Here For 1GB Free Hosting! Php Included!

Posting Permissions

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