Team:UCLA/Template/Javascript

From 2014.igem.org

(Difference between revisions)
Line 143: Line 143:
$('html,body').animate({scrollTop:dest}, 700,'swing');
$('html,body').animate({scrollTop:dest}, 700,'swing');
});
});
 +
</script>
<!--SLIDING SIDE MENU-->
<!--SLIDING SIDE MENU-->
 +
<script src="js/classie.js"></script>
 +
<script type = "text/javascript">
var menuLeft = document.getElementById( 'cbp-spmenu-s1' ),
var menuLeft = document.getElementById( 'cbp-spmenu-s1' ),
         menuRight = document.getElementById( 'cbp-spmenu-s2' ),
         menuRight = document.getElementById( 'cbp-spmenu-s2' ),

Revision as of 21:37, 6 August 2014