Team:UCLA/Aal/javascripttemplate

From 2014.igem.org

(Difference between revisions)
(Created page with "<html> <script type="text/javascript"> function show_sidebar() { document.getElementById('sidebar').style.visibility="visible"; } function hide_sidebar() { document.getElementBy...")
Line 3: Line 3:
function show_sidebar()
function show_sidebar()
{
{
-
document.getElementById('sidebar').style.visibility="visible";
+
document.getElementByClass('sidebar').style.visibility="visible";
}
}
function hide_sidebar()
function hide_sidebar()
{
{
-
document.getElementById('sidebar').style.visibility="hidden";
+
document.getElementByClass('sidebar').style.visibility="hidden";
}
}
</script>
</script>
</html>
</html>

Revision as of 00:19, 31 July 2014