/ Published in: JavaScript
It opens the elements...
Expand |
Embed | Plain Text
<head> <script language="javascript"> function ackapa(hangitablo){ if (document.getElementById(hangitablo).style.display==""){ document.getElementById(hangitablo).style.display="none"; } else { document.getElementById(hangitablo).style.display=""; } } </script> </head <!-- /////////////////////////////////// --> <body> <table width="100%" border="0" cellspacing="0" cellpadding="0" border="0"> <tr onClick="ackapa('genelKategori')" style="CURSOR: hand" height="30"> <td> Alt icerigi aƧ </td> </tr> <tbody id="genelKategori" style="display:none"> <tr> <td> Alt menu icerik </td> </tr> </tbod> </table>
You need to login to post a comment.
