stitches3911

Untitled

Aug 17th, 2012
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <body>
  2. <script type="text/javascript">
  3. <!--
  4. function toggle_visibility(id) {
  5. var e = document.getElementById(id);
  6. if(e.style.display == 'none')
  7. e.style.display = 'block';
  8. else
  9. e.style.display = 'none';
  10. }
  11. //-->
  12. </script>
  13. <a onclick="toggle_visibility('foo');"><b><u>Click to
  14. view</b></u></a><div id="foo" style=display:none;>{param}</div>
  15. </body>
Advertisement
Add Comment
Please, Sign In to add comment