| Article: |
Hierarchical Menus with the Underrated style.display Object | |
| Subject: | Simplify hideAll() | |
| Date: | 2005-02-04 10:38:15 | |
| From: | slipjig | |
|
1/ Make all menu tables be of class "menu" 2/ Use a naming convention where the image has the same id as the menu table with 'Img' at the end Example : ... <tr><td> <img id="link2Img" src="minus.gif" width="11" height="11"> link 2</td></tr> <tr><td><table class="menu" id="link2" border = "0"> <tr><td> First sub-menu item ...
|
||
Showing messages 1 through 1 of 1.
-
Simplify hideAll() : correction
2005-02-04 10:44:22 slipjig [View]



@ href="javascript:showLevel'link2','link2Img');">
<img id="link2Img" src="minus.gif" width="11" height="11"> link 2</@> </td></tr>
<tr><td><table class="menu" id="link2" border = "0">
where @ is a