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

    Latest Awards:

    Default Random Message....

    On the HobTech website they have that random message about your password and everytime you refresh it changes. I have made the JavaScript i just need to know how to get it into my page. Any Help?

    Thanks,
    :.:Numark:.:
    Quote Originally Posted by Chippiewill View Post
    e-rebel forum moderator
    :8

  2. #2
    Join Date
    Feb 2006
    Location
    Manchester UK
    Posts
    156
    Tokens
    0

    Default

    HTML Code:
    <script type="text/javascript">
    
    Javscript code for alert here!
    
    </script>
    I'm extremely critical and mean..

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

    Latest Awards:

    Default

    yes but I would put:

    <script type="text/javascript">

    What Here??!!??!!??

    </script>
    Quote Originally Posted by Chippiewill View Post
    e-rebel forum moderator
    :8

  4. #4
    Join Date
    Feb 2006
    Location
    Manchester UK
    Posts
    156
    Tokens
    0

    Default

    HTML Code:
    <script language="javascript">
    
    alert ("Alert here!")
    
    </script>
    Last edited by Raremandan; 13-03-2006 at 01:43 PM.
    I'm extremely critical and mean..

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

    Latest Awards:

    Default

    Thats an Alert script which will take place whn the website loads, goto www.hobtech.net and goto the main site. There you will see a message at the side about your password or about habbo safety. That is what I want. If you refresh your page you wil get a different message. I know it runs of a JavaScript file. I have written my own. I just need to know the code to make the Browser acces the JS file, display the information and then take one of the messages from the JS file like on HobTech!

    Thank You,
    :.:Numark:.:
    Quote Originally Posted by Chippiewill View Post
    e-rebel forum moderator
    :8

  6. #6
    Join Date
    Aug 2005
    Location
    Canada
    Posts
    2,561
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Raremandan
    HTML Code:
    <script type="text/javascript">
    
    Javscript code for alert here!
    
    </script>
    I'll have to try that

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

    Latest Awards:

    Default

    Quote Originally Posted by Sunburn
    I'll have to try that
    I just need some way of it getting the stuff from the JS file and randomly selecting a message of it
    Quote Originally Posted by Chippiewill View Post
    e-rebel forum moderator
    :8

  8. #8
    Join Date
    May 2005
    Location
    Cornwall
    Posts
    3,590
    Tokens
    2,900
    Habbo
    Feyod

    Latest Awards:

    Default

    Not sure if this is what your looking for but;

    http://www.codelifter.com/main/javas...domquote.shtml
    Occasionally visit and have a nose.

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

    Latest Awards:

    Default

    great!!! Thank-You!
    Quote Originally Posted by Chippiewill View Post
    e-rebel forum moderator
    :8

  10. #10
    Join Date
    Jun 2005
    Location
    NORF EASTZ
    Posts
    3,347
    Tokens
    0

    Latest Awards:

    Default

    You can do it in php aswell.

    PHP Code:
    <?
       $quote
    [1]="Your Text";
       
    $quote[2]="Your Text";
       
    $quote[3]="Your Text";
       
    $random rand(1count($quote));
       echo 
    "$quote[$random]";
    ?>

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
  •