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.

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.
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
http://www.habboxforum.com/showthread.php?t=145697
See my post. ;P
Occasionally visit and have a nose.
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>
Thats the site i meantOriginally Posted by Steven.
+rep
I've never tried to do this before, but I'm assuming that this will work (with browsers not suporting the latest CSS aswell).
That's the first time I've ever written that code, so I've not tested it.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>
Gd advice
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.
Want to hide these adverts? Register an account for free!