Team:UCLA/Aal/javascripttemplate

From 2014.igem.org

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

Revision as of 20:38, 6 August 2014

function show_sidebar() { document.getElementById('sidebar').animate({right:'200px'}); } function hide_sidebar() { document.getElementById('sidebar').animate({right:'-200px'}; }