Team:UCLA/Aal/javascripttemplate

From 2014.igem.org

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

Revision as of 00:20, 31 July 2014