Team:UCLA/Aal/javascripttemplate

From 2014.igem.org

(Difference between revisions)
Line 3: Line 3:
function show_sidebar()
function show_sidebar()
{
{
-
document.getElementById('sidebar').animate({right:'200px'});
+
document.getElementById('test').animate({right:'200px'});
}
}
function hide_sidebar()
function hide_sidebar()
{
{
-
document.getElementById('sidebar').animate({right:'-200px'};
+
document.getElementById('test').animate({right:'-200px'};
}  
}  
</script>
</script>
</html>
</html>

Revision as of 20:41, 6 August 2014