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 8 of 8
  1. #1
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    1,788
    Tokens
    0

    Latest Awards:

    Default Quick Help again ;) HTML

    I just need the code for my site.... See on Habbox [or when it was not shutdown] how you click like "Habbox" and the submenu pops down and you click which page to go to. I need this code, I did have a site for the code, but lost it.

  2. #2
    Join Date
    Feb 2006
    Location
    Befordshire, England
    Posts
    672
    Tokens
    0

    Default

    Hey,

    It's not Html.
    I would think it'd be easier to do in Javascript
    Any tutorail site would have that kind of thing.
    i would explain but i really can't be bothered to type it all.

    -Daza

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

    Latest Awards:

    Default

    Occasionally visit and have a nose.

  4. #4
    Join Date
    Nov 2005
    Posts
    807
    Tokens
    1,335

    Latest Awards:

    Default

    Its really DHtml or Dynamic Html ... and easy way is to do this;
    HTML Code:
    <html>
    <head>
    <style>
    #menu1 {
    display: none;
    }
    </style>
    </head>
    <body>
    <div onClick="document.all.menu1.style.display = 'block'">Menu 1<br />
    <span id="menu1">Home<br />About<br />Etc..</span>
    </div>
    </body>
    </html>

  5. #5
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    1,788
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Steven.
    Thats the site i meant

    +rep

  6. #6
    Join Date
    Aug 2004
    Location
    bristol
    Posts
    3,799
    Tokens
    0

    Latest Awards:

    Default

    I've never tried to do this before, but I'm assuming that this will work (with browsers not suporting the latest CSS aswell).
    HTML Code:
    <html>
    <head>
    <script type="text/javascript" language="javascript">
    function display_menu(new_html, div_id) {
     document.getElementById(div_id).innerHTML=new_html;
     }
    </script>
    </head>
    <body>
    <a href="#" onClick="display_menu('link<br />link', 'bob')">Show menu</a>
    <div id="bob"> </div>
    </body>
    </html>
    That's the first time I've ever written that code, so I've not tested it.

  7. #7
    Join Date
    Feb 2006
    Location
    Essex
    Posts
    87
    Tokens
    0

    Default

    Gd advice

  8. #8
    Join Date
    Jan 2006
    Location
    England
    Posts
    2,028
    Tokens
    0

    Latest Awards:

    Default

    Ye its availible on www.dynamicdrive.com and so are many other menus

    Avatar removed by Agesilaus (Forum Super Moderator): Avatar image was exceeding the size limit for your usergroup.

Posting Permissions

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