hjlæp til udfoldelse af menu
Hejsa..Jeg har brug for hjælp til en menu...
Jeg har 10 menu punkter, hvoraf 3 kan foldes ud og det virker findt, men så har jeg tilføjet noget under den ene af de tre. Og dett noget skulle også gerne selv kunne foldes ud---------> og det er her mit problem ligger.. Det virker ikke... Hjælp.. Skal bruge det hurtigt og snart...
Her er koderne:
Javascript til udfoldelse af menu:
<!-- start -->
var LastObj = false;
function MenuAct(val) {
myObj = (document.getElementById)? document.getElementById(val) : document.all[val];
myObj.style.display = (myObj.style.display=="block" )? "none" : "block";
(LastObj&&LastObj!=myObj)? LastObj.style.display = "none" : void(0);
LastObj = myObj;
}
<!-- slut -->
og selve menuen:
<!-- start -->
<table class=submenu_titel cellspacing=1 cellpadding=0
width=142 border=0>
<tbody>
<tr>
<td width="100%" align=center background="menu-linje.jpg">Navigation </td>
</tr>
<tr>
<td width="100%"> <table bordercolor=#111111 cellspacing=0 cellpadding=0
width="100%" border=0>
<tbody>
<tr>
<td class=menu_link valign=top width=142
height=5><a class=menu_link
href="http://www.sffb.dk/default.asp"> <img
src="pil.gif"
border=0 alt=""> Nyheder</a></td>
</tr>
<tr>
<td class=menu_link width=142 height=1></td>
</tr>
<tr>
<td class=menu_link valign=top width=142
height=5><a class=menu_link
href="java script:MenuAct('Item2')"> <img
src="pilned.gif" border=0 alt=""> Bestyrelse</a></td>
</tr>
<tr>
<td class=menu_link width=142 height=1> <div id=Item2 style="DISPLAY: none">
<table cellspacing=0 cellpadding=0 width="100%">
<tbody>
<tr>
<td class=menu_link><a class=menu_link
href="bestyr-adr.asp"> Adresser</a></td>
</tr>
<tr>
<td class=menu_link><a class=menu_link
href="bestyr-kon.asp"> Kontakt</a></td>
</tr>
<tr>
<td class=menu_link><a class=menu_link
href="bestyr-ved.asp"> Vedtægter</a></td>
</tr>
</tbody>
</table>
</div></td>
</tr>
<tr>
<td class=menu_link width=142 height=1></td>
</tr>
<tr>
<td class=menu_link valign=top width=142
height=5><a class=menu_link
href="java script:MenuAct('Item3')"> <img
src="pilned.gif" border=0 alt=""> Arragementer</a>
</td>
</tr>
<tr>
<td class=menu_link width=142 height=1> <div id=Item3 style="DISPLAY: none">
<table cellspacing=0 cellpadding=0 width="100%">
<tbody>
<tr>
<td class=menu_link><a class=menu_link
href="http://www.fik.dk/snart.asp"> Familiebowling</a></td>
</tr>
<tr>
<td class=menu_link><a class=menu_link
href="http://www.fik.dk/ungdom.asp?U8"> Sjov
bowling </a></td>
</tr>
<tr>
<td class=menu_link><a class=menu_link
href="http://www.fik.dk/ungdom.asp?U10"> Holdbowling</a></td>
</tr>
<tr>
<td class=menu_link><a class=menu_link
href="http://www.fik.dk/ungdom.asp?U12"> Seniorbowling</a></td>
</tr>
<tr>
<td class=menu_link><a class=menu_link
href="http://www.fik.dk/ungdom.asp?U14"> Bymesterskab</a></td>
</tr>
<tr>
<td class=menu_link><a class=menu_link
href="http://www.fik.dk/ungdom.asp?U16"> Genralforsamling</a></td>
</tr>
</tbody>
</table>
</div></td>
</tr>
<tr>
<td class=menu_link width=142 height=1></td>
</tr>
<tr>
<td class=menu_link valign=top width=142
height=5><a class=menu_link
href="java script:MenuAct('Item4')"> <img
src="pilned.gif" border=0 alt=""> Divisionerne</a>
</td>
</tr>
<tr>
<td class=menu_link width=142 height=1> <div id=Item4 style="DISPLAY: none">
<table cellspacing=0 cellpadding=0 width="100%">
<tbody>
<tr>
<td class=menu_link><a class=menu_link
href="java script:MenuAct('Item41')"> <img
src="pilned.gif" border=0 alt=""> 1. Division
</a></td>
</tr>
<tr>
<td class=menu_link width=142 height=1> <div id=Item41 style="DISPLAY: none">
<table cellspacing=0 cellpadding=0 width="100%">
<tbody>
<tr>
<td class=menu_link><a class=menu_link
href="div/resu_1div.asp"> Resultater</a></td>
</tr>
<tr>
<td class=menu_link><a class=menu_link
href="div/spille_1div.asp"> Spilleplan</a></td>
</tr>
</tbody>
</table>
</div>
</td></tr>
<tr>
<td class=menu_link> <a class=menu_link
href="java script:MenuAct('Item42')"> <img
src="pilned.gif" border=0 alt=""> 2. Division</a></td>
</tr>
<tr>
<td class=menu_link width=142 height=1> <div id=Item42 style="DISPLAY: none">
<table cellspacing=0 cellpadding=0 width="100%">
<tbody>
<tr>
<td class=menu_link><a class=menu_link
href="div/resu_1div.asp"> Resultater</a></td>
</tr>
<tr>
<td class=menu_link><a class=menu_link
href="div/spille_1div.asp"> Spilleplan</a></td>
</tr>
</tbody>
</table>
</div>
</td></tr>
<tr>
<td class=menu_link> <a class=menu_link
href="java script:MenuAct('Item43')"> <img
src="pilned.gif" border=0 alt=""> 3. Division
</a></td>
</tr>
<tr>
<td class=menu_link width=142 height=1> <div id=Item43 style="DISPLAY: none">
<table cellspacing=0 cellpadding=0 width="100%">
<tbody>
<tr>
<td class=menu_link><a class=menu_link
href="div/resu_1div.asp"> Resultater</a></td>
</tr>
<tr>
<td class=menu_link><a class=menu_link
href="div/spille_1div.asp"> Spilleplan</a></td>
</tr>
</tbody>
</table>
</div>
</td></tr>
<tr>
<td class=menu_link> <a class=menu_link
href="java script:MenuAct('Item44')"> <img
src="pilned.gif" border=0 alt=""> 4. Division
</a></td>
</tr>
<tr>
<td class=menu_link width=142 height=1> <div id=Item44 style="DISPLAY: none">
<table cellspacing=0 cellpadding=0 width="100%">
<tbody>
<tr>
<td class=menu_link><a class=menu_link
href="div/resu_1div.asp"> Resultater</a></td>
</tr>
<tr>
<td class=menu_link><a class=menu_link
href="div/spille_1div.asp"> Spilleplan</a></td>
</tr>
</tbody>
</table>
</div>
</td></tr>
<tr>
<td class=menu_link> <a class=menu_link
href="java script:MenuAct('Item45')"> <img
src="pilned.gif" border=0 alt=""> 5. Division
</a></td>
</tr>
<tr>
<td class=menu_link width=142 height=1> <div id=Item45 style="DISPLAY: none">
<table cellspacing=0 cellpadding=0 width="100%">
<tbody>
<tr>
<td class=menu_link><a class=menu_link
href="div/resu_1div.asp"> Resultater</a></td>
</tr>
<tr>
<td class=menu_link><a class=menu_link
href="div/spille_1div.asp"> Spilleplan</a></td>
</tr>
</tbody>
</table>
</div>
</td></tr>
<tr>
<td class=menu_link> <a class=menu_link
href="java script:MenuAct('Item46')"> <img
src="pilned.gif" border=0 alt=""> 6. Division
</a></td>
</tr>
<tr>
<td class=menu_link width=142 height=1> <div id=Item46 style="DISPLAY: none">
<table cellspacing=0 cellpadding=0 width="100%">
<tbody>
<tr>
<td class=menu_link><a class=menu_link
href="div/resu_1div.asp"> Resultater</a></td>
</tr>
<tr>
<td class=menu_link><a class=menu_link
href="div/spille_1div.asp"> Spilleplan</a></td>
</tr>
</tbody>
</table>
</div>
</td></tr>
<tr>
<td class=menu_link> <a class=menu_link
href="java script:MenuAct('Item47')"> <img
src="pilned.gif" border=0 alt=""> 7. Division
</a></td>
</tr>
<tr>
<td class=menu_link width=142 height=1> <div id=Item47 style="DISPLAY: none">
<table cellspacing=0 cellpadding=0 width="100%">
<tbody>
<tr>
<td class=menu_link><a class=menu_link
href="div/resu_1div.asp"> Resultater</a></td>
</tr>
<tr>
<td class=menu_link><a class=menu_link
href="div/spille_1div.asp"> Spilleplan</a></td>
</tr>
</tbody>
</table>
</div>
</td></tr>
<tr>
<td class=menu_link> <a class=menu_link
href="java script:MenuAct('Item48')"> <img
src="pilned.gif" border=0 alt=""> Dame Superligaen
</a></td>
</tr>
<tr>
<td class=menu_link width=142 height=1> <div id=Item48 style="DISPLAY: none">
<table cellspacing=0 cellpadding=0 width="100%">
<tbody>
<tr>
<td class=menu_link><a class=menu_link
href="div/resu_1div.asp"> Resultater</a></td>
</tr>
<tr>
<td class=menu_link><a class=menu_link
href="div/spille_1div.asp"> Spilleplan</a></td>
</tr>
</tbody>
</table>
</div>
</td></tr>
<tr>
<td class=menu_link> <a class=menu_link
href="java script:MenuAct('Item49')"> <img
src="pilned.gif" border=0 alt=""> Herrer Superligaen
</a></td>
</tr>
<tr>
<td class=menu_link width=142 height=1> <div id=Item49 style="DISPLAY: none">
<table cellspacing=0 cellpadding=0 width="100%">
<tbody>
<tr>
<td class=menu_link><a class=menu_link
href="div/resu_1div.asp"> Resultater</a></td>
</tr>
<tr>
<td class=menu_link><a class=menu_link
href="div/spille_1div.asp"> Spilleplan</a></td>
</tr>
</tbody>
</table>
</div>
</td></tr>
<tr>
<td class=menu_link> <a class=menu_link
href="java script:MenuAct('Item410')"> <img
src="pilned.gif" border=0 alt=""> Senior Superligaen
</a></td>
</tr>
</tbody>
</table>
</div></td>
</tr>
<tr>
<td class=menu_link width=142 height=1> <div id=Item410 style="DISPLAY: none">
<table cellspacing=0 cellpadding=0 width="100%">
<tbody>
<tr>
<td class=menu_link><a class=menu_link
href="div/resu_1div.asp"> Resultater</a></td>
</tr>
<tr>
<td class=menu_link><a class=menu_link
href="div/spille_1div.asp"> Spilleplan</a></td>
</tr>
</tbody>
</table>
</div>
</td></tr>
<tr>
<td class=menu_link width=142 height=1></td>
</tr>
<tr>
<td class=menu_link valign=top width=142
height=5><a class=menu_link
href="java script:MenuAct('Item5')"> <img
src="pilned.gif" border=0 alt=""> Snitlisterne</a></td>
</tr>
<tr>
<td class=menu_link width=142 height=1> <div id=Item5 style="DISPLAY: none">
<table cellspacing=0 cellpadding=0 width="100%">
<tbody>
<tr>
<td class=menu_link><a class=menu_link
href="http://www.fik.dk/Ehvervsklub-info.asp"> Dame
Superligaen </a></td>
</tr>
<tr>
<td class=menu_link><a class=menu_link
href="http://www.fik.dk/Erhvervsklub-medlem.asp"> Superligaen
- 7. div</a></td>
</tr>
<tr>
<td class=menu_link><a class=menu_link
href="http://www.fik.dk/udvalg.asp?mode=9"> Senior
Superligaen </a></td>
</tr>
<tr>
<td class=menu_link><a class=menu_link
href="http://www.fik.dk/udvalg.asp?mode=9"> Senior
Motion</a></td>
</tr>
<tr>
<td class=menu_link><a class=menu_link
href="http://www.fik.dk/udvalg.asp?mode=9"> Tirsdagsbowlere</a></td>
</tr>
</tbody>
</table>
</div></td>
</tr>
<tr>
<td class=menu_link width=142 height=1></td>
</tr>
<tr>
<td class=menu_link valign=top
height=5><a class=menu_link
href="sitemap.asp"> <img
src="pil.gif"
border=0 alt=""> Sitemap</a> </td>
</tr>
<tr>
<td class=menu_link width=142 height=1></td>
</tr>
<tr><td class=menu_link valign=top width=142
height=5><a class=menu_link
href="billeder.asp"> <img
src="pil.gif" border=0 alt=""> Billeder</a></td>
</tr>
<tr>
<td class=menu_link width=142 height=1></td>
</tr>
<tr><td class=menu_link valign=top width=142
height=5><a class=menu_link
href="spil.asp"> <img
src="pil.gif" border=0 alt=""> Spil</a></td>
</tr>
<tr>
<td class=menu_link width=142 height=1></td>
</tr>
<tr>
<td class=menu_link valign=top width=142
height=5><a class=menu_link
href="mailinglist.asp"> <img
src="pil.gif"
border=0 alt=""> Mailingliste</a> </td>
</tr>
<tr>
<td class=menu_link width=142 height=1></td>
</tr>
<tr>
<td class=menu_link valign=top width=142
height=5><a class=menu_link
href="http://www.sffb.dk/default.asp"> <img
src="pil.gif"
border=0 alt=""> Forsiden</a> </td>
</tr>
<tr>
<td class=menu_link width=142
height=1></td>
</tr>
<tr>
<td class=menu_link
height=1></td>
</tr>
</tbody>
</table></td>
</tr>
</tbody>
</table>
<!-- slut -->
På forhånd mange tak
Musras