Michael Moderator
      
 
 ![[Avatar]](http://av.wservices.co.uk/av.png)  Recoding the future Posts: 4,043 Status: Offline Gender: Male Location: UK Joined:  
  Additional Groups:  Coding Team
    
 
 
  pmvForum | | Show/Hide (17th Apr 08 at 10:16pm UTC) |  |  This is a snippet
  function toggle(id){     id.style.display = (id.style.display == '')? 'none' : ''; }
  This code is the very basic show/hide. Two examples below on how to hide something with an id of rawr.
  toggle(document.getElementById('rawr')); toggle(get('rawr','id')); The second uses the function that vF has built in, but in essence does exactly the same. 
  Enjoy. |  |
 
  |