Posted By

skywalker on 01/27/08


Tagged

menu ac kapa


Versions (?)

Menu Ac-Kapa


 / Published in: JavaScript
 

It opens the elements...

  1. <head>
  2. <script language="javascript">
  3. function ackapa(hangitablo){
  4. if (document.getElementById(hangitablo).style.display==""){
  5. document.getElementById(hangitablo).style.display="none";
  6. }
  7. else {
  8. document.getElementById(hangitablo).style.display="";
  9. }
  10. }
  11. </script>
  12. </head
  13.  
  14. <!-- /////////////////////////////////// -->
  15.  
  16. <body>
  17.  
  18. <table width="100%" border="0" cellspacing="0" cellpadding="0" border="0">
  19. <tr onClick="ackapa('genelKategori')" style="CURSOR: hand" height="30">
  20. <td> Alt icerigi aƧ </td>
  21. </tr>
  22.  
  23. <tbody id="genelKategori" style="display:none">
  24. <tr>
  25. <td> Alt menu icerik </td>
  26. </tr>
  27. </tbod>
  28. </table>

Report this snippet  

You need to login to post a comment.