Cioa
utilizzo un piccolissimo script che "dovrebbe" aprire un sotto menu, in parole povere, cliccando su un link espande un DIV, una stupidata direte voi, il punto è che non funziona.. ecco il codice:
JS
Paginacodice:function startmenu() { document.getElementById('TEST').style.display = "none"; } function menufunc(menuId) { if(document.getElementById(menuId).style.display == "none") { startmenu(); document.getElementById(menuId).style.display = "block"; } else { startmenu(); } }
codice:<body onLoad="javascript:startmenu()"> ... <table> <tr> <td width="16" height="16">[img]images/freccia_1.PNG[/img]</td> <td width="5" height="16"></td> <td width="209" height="16">TEST</td> </tr> <div id="TEST"> <tr> <td width="230" height="5" colspan="3"></td> </tr> <tr> <td width="16" height="16"></td> <td width="5" height="16"></td> <td width="209" height="16"> <table width="209" height="" cellspacing="0" cellpadding="0"> <tr> <td width="16" height="16">[img]images/cerchio.PNG[/img]</td> <td width="5" height="16"></td> <td width="188" height="16">Legenda</td> </tr> <tr> <td width="209" height="5" colspan="3"></td> </tr> <tr> <td width="16" height="16">[img]images/cerchio.PNG[/img]</td> <td width="5" height="16"></td> <td width="188" height="16">Guarda</td> </tr> <tr> <td width="209" height="5" colspan="3"></td> </tr> <tr> <td width="16" height="16">[img]images/cerchio.PNG[/img]</td> <td width="5" height="16"></td> <td width="188" height="16">Prenota</td> </tr> </table> </td> </tr> </div> </table>


Rispondi quotando
