instiki/public/javascripts/application.js

6 lines
335 B
JavaScript
Raw Permalink Normal View History

// Place your application-specific JavaScript functions and classes here
// This file is automatically included by javascript_include_tag :defaults
2007-02-27 22:56:13 +01:00
function toggleView(id)
{
(document.getElementById(id).style.display == 'block') ? document.getElementById(id).style.display='none' : document.getElementById(id).style.display='block';
}