Team:UCLA/Template/Javascript

From 2014.igem.org

(Difference between revisions)
Line 1: Line 1:
 +
{{:Team:UCLA/Template/CSS_test}}
 +
<html>
<html>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
Line 141: Line 143:
$('html,body').animate({scrollTop:dest}, 700,'swing');
$('html,body').animate({scrollTop:dest}, 700,'swing');
});
});
 +
</script>
 +
 +
<!--MAIN NAVBAR-->
 +
<script>
$('.dropdown').hover(function(){  
$('.dropdown').hover(function(){  
   $('.dropdown-toggle', this).trigger('click');  
   $('.dropdown-toggle', this).trigger('click');  

Revision as of 22:56, 7 August 2014