I would like to click on an menu (image) and it will expand into 2 or more sub-menus. I try to search through the internet for source or guide to do it. Any hints or resourses will be helpful.
Thank you. :rolleyes:
[CODE] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Test</title> <style type="text/css"> #arc, arc2 {display: none;} li {list-style-type: none; left: 0em;} .mar {margin-top: -.025em;} </style> <script language="JavaScript" type="text/javascript"> <!-- function kadabra(zap) { if (document.getElementById) { var abra = document.getElementById(zap).style; if (abra.display == "block") { abra.display = "none"; }else{ abra.display = "block"; } return false; }else{ return true; } } //--> </script> </head> <body> <table border="0" cellpadding="0" cellspacing="0"> <tr> <td> <a href="#" onclick="return kadabra('arc');"><img src="http://www.google.com.my/images/logo_sm.gif" /></a><br> <ul id="arc" class="mar"> <li><a href="#" onclick="return kadabra('arc2');"> <img src="http://www.google.com.my/images/logo_sm.gif" /> </li></a> </ul> <img src="logo.gif" /> </td> </tr> </table> </body> </html> [/CODE]
Help @DreamKid spread the word by sharing this article on Twitter...