i forgot the script for when you click an image, and underneath lots of little links appear. if u click it again they dissapear

i forgot the script for when you click an image, and underneath lots of little links appear. if u click it again they dissapear
wouldnt that be a spoiler like on here?
Post Meter
______________________________________________
400 450 500 550 600 650 700 750 800 850 900-1k
Green=Done | Orange=Almost | Red=Not Done
______________________________________________
Habbo fury Coming Soon!
My Img tag has ran away
yes, um an example is on www.habbome.com
you mean dropdown links
www.dynamicdrive.com
its on their.
Edit here:
http://www.dynamicdrive.com/dynamici...switchmenu.htm
Last edited by Sunny.; 03-10-2007 at 03:49 PM.
NEVER. EVER. Use DynamicDrive.
I'll post the code later, bust atm.
thanksyou mean dropdown links
www.dynamicdrive.com
its on their.
Edit here:
http://www.dynamicdrive.com/dynamici...switchmenu.htm
HTML Code:<html> <head> <script type="text/javascript"> function switch(div) { var el=document.getElementById(div); el.style.display=el.style.display=='none'? 'block' : 'block'; } </script> </head> <body> <div id="title"><a onClick="switch(1)">TITLE LOL</a></div><br /> <div id="1" style="display: none">lol</div> </body> </html>
that actually work?HTML Code:<html> <head> <script type="text/javascript"> function switch(div) { var el=document.getElementById(div); el.style.display=el.style.display=='none'? 'block' : 'block'; } </script> </head> <body> <div id="title"><a onClick="switch(1)">TITLE LOL</a></div><br /> <div id="1" style="display: none">lol</div> </body> </html>
Yes. .
thats a rather simple way![]()
Want to hide these adverts? Register an account for free!