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 6 of 6

Thread: » Need 2 Codes

  1. #1
    Join Date
    Mar 2007
    Posts
    364
    Tokens
    0

    Default » Need 2 Codes

    i need 2 codes to help with my new site.

    » A Code that turns a page into a popup

    » A code so when you go on the homepage the popup comes up.

    +Rep if you can help
    Last edited by JK; 25-03-2007 at 11:18 AM.
    Left
    xxx


  2. #2
    Join Date
    Dec 2006
    Location
    Doncaster, UK
    Posts
    4,244
    Tokens
    0

    Latest Awards:

    Default

    Code:
    <a href="link.html" target="_blank></a>
    A collection of forum users' views on obesity
    Quote Originally Posted by mynameisjake View Post
    sounds good
    Quote Originally Posted by Stephen View Post
    Just google it.
    Quote Originally Posted by jesus View Post
    jesus christ
    Quote Originally Posted by Alexicles. View Post
    It will probably soon go away.

  3. #3
    Ryan. Guest

    Default

    Quote Originally Posted by Xeoro View Post
    Code:
    <a href="link.html" target="_blank></a>
    Is for when you click a link it opens in new page.. Case you didn't know :p.

  4. #4
    Join Date
    May 2005
    Location
    San Francisco, CA
    Posts
    7,160
    Tokens
    2,331

    Latest Awards:

    Default

    By link:
    HTML Code:
    <html>
    <head>
    <script language="javascript>
    <!-- Begin
    function popUp(URL) {
    day = new Date();
    id = day.getTime();
    eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=width,height=height');");
    }
    // End -->
    </script>
    </head>
    <body>
    <A HREF="javascript:popUp('file.php')">Open the Popup Window</A>
    </body>
    </html>
    Automatically:
    HTML Code:
    <html>
    <head>
    <script language="javascript>
    <!-- Begin
    function popUp(URL) {
    day = new Date();
    id = day.getTime();
    eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=width,height=height');");
    }
    // End -->
    </script>
    </head>
    <body onLoad="javascript:popUp('file.php')">
    </body>
    </html>

  5. #5
    Join Date
    Mar 2007
    Posts
    364
    Tokens
    0

    Default

    Fanx for help invent
    Left
    xxx


  6. #6
    Join Date
    Dec 2006
    Location
    Nottingham
    Posts
    7,752
    Tokens
    756
    Habbo
    katie.pricejorda

    Latest Awards:

    Default

    or if your lazy, you could use:
    http://javascript.internet.com/gener...up-window.html

    It's not bad

Posting Permissions

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