Test

By skull, ago, written in Javascript.
URL http://pastecode.org/index.php/view/4437839
Download Paste or View RawExpand paste to full width of browser | Change Viewing Options
  1. <h1>Titel</h1>
  2. <br>
  3. <a href="javascript:hideshow(adiv)">show/hide</a>
  4.  
  5. <script type="text/javascript">
  6.  
  7. function hideshow(which){
  8. if (!document.getElementById)
  9. return
  10. if (which.style.display=="block")
  11. which.style.display="none"
  12. else{
  13.  
  14. which.style.display="block"
  15. }}
  16. </script>
  17.  
  18. <div id="adiv" style="font:24px bold; display: none">Der jeweilige Text</div>

Here you can reply to the paste above

Make Private

   

Feeling clever? Set some advanced options.