mam taki kodzik
<script> function ShowHide (open, close) { if (open != '') { expMenu (open); } if (close != '') { expMenu (close); } } function expMenu (id) { var item = null; if (document.getElementById) { item = document.getElementById(id); } else if (document.all) { item = document.all[id]; } else if (document.layers){ item = document.layers[id]; } if (!item) { // do nothing } else if (item.style) { if (item.style.display == "none") { item.style.display = ""; } else { item.style.display = "none"; } } else { item.visibility = "show"; } } </script> <table border="0" align="center" cellpadding="0" cellspacing="0" width="90%" height="1"> <tr> <td height="25" width="249" valign="top"> <font face="Verdana" size="2" color="#094AAC"> </font> </td> </tr> <tr id="qr_opena1175" style="display:none;position:relative;"> <td height="25" style="border-bottom: 1px solid #E8E8E8;" onmouseover="style.backgroundColor='#F9F9F9';" onmouseout="style.backgroundColor='#FFFFFF';" width="249"> <font color="#4A4A4A" face="Verdana" size="2"> </font> </td> </tr> <tr id="qr_opena1175" style="display:none;position:relative;"> <td height="25" style="border-bottom: 1px solid #E8E8E8;" onmouseover="style.backgroundColor='#F9F9F9';" onmouseout="style.backgroundColor='#FFFFFF';" width="249"> <font color="#4A4A4A" face="Verdana" size="2"> </font> </td> </tr> </table>
i teraz chce zrobic tak zeby po kliknieciu na "menu glowne" pokazywaly sie wszystkie komorki a nie tylko pierwsza. Zastanawiam sie jeszcze czy nie mozna tego kodu uproscic?
Z gory dzieki za odpowiedz, pozdrawiam dex.