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 17
  1. #1
    Join Date
    Jul 2007
    Posts
    7,783
    Tokens
    89

    Latest Awards:

    Default [+6REP] Popup code?

    Umm just the code for a pop-up as soon as you go on a site, and you have to click, Ok, Cancel or 'X' and you can customize the message...
    This is all javascript no HTML ones right? ...

    thx..


  2. #2
    Join Date
    Jan 2007
    Location
    UK
    Posts
    3,955
    Tokens
    424

    Latest Awards:

    Default

    <scriptlanguage="JavaScript">
    function loadalert ()

    {alert("Message")


    }

    </script>
    <bodyonLoad="loadalert()">


    Put this in the body of your site.
    2110 Reputation thanks to: Intersocial
    If you Rep, please leave your name.

  3. #3
    Join Date
    Jul 2007
    Posts
    7,783
    Tokens
    89

    Latest Awards:

    Default

    wait, this site has like enter HTML but it wouldn't work right?


  4. #4
    Join Date
    Sep 2007
    Posts
    56
    Tokens
    0

    Default

    or just
    <script type="text/javascript">
    document.onload.alert('message');
    </script>

    EDIT:

    What exactly do you need it to do?

  5. #5
    Join Date
    Jul 2007
    Posts
    7,783
    Tokens
    89

    Latest Awards:

    Default

    Popup when you go on a site, and redirect if click ok, or cancel. This supports HTML, so I don't think it'll work..

  6. #6
    Join Date
    Jan 2007
    Location
    UK
    Posts
    3,955
    Tokens
    424

    Latest Awards:

    Default

    Try it. That code is a javascript popup.
    2110 Reputation thanks to: Intersocial
    If you Rep, please leave your name.

  7. #7
    Join Date
    Sep 2007
    Posts
    56
    Tokens
    0

    Default

    Agred with above. The above code is a javascript popup.

  8. #8
    Join Date
    Jul 2007
    Posts
    7,783
    Tokens
    89

    Latest Awards:

    Default

    Well I did ask, the site has a HTML box and a normal no HTML box only (HTML disabled), so I don't think it will work right?.... I did try it.


  9. #9
    Join Date
    Sep 2007
    Posts
    56
    Tokens
    0

    Default

    I will upload that code to a file on my website to prove it works.

  10. #10
    Join Date
    Jul 2007
    Posts
    7,783
    Tokens
    89

    Latest Awards:

    Default

    Ok.... But I asked something, so answer it..


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
  •