Team:UCLA/Template/Javascript
From 2014.igem.org
(Difference between revisions)
Samichaels (Talk | contribs) |
|||
Line 133: | Line 133: | ||
//go to destination | //go to destination | ||
$('html,body').animate({scrollTop:dest}, 700,'swing'); | $('html,body').animate({scrollTop:dest}, 700,'swing'); | ||
+ | }); | ||
+ | </script> | ||
+ | |||
+ | <!--MAIN NAVBAR--> | ||
+ | <script> | ||
+ | $('.dropdown').hover(function(){ | ||
+ | $('.dropdown-toggle', this).trigger('click'); | ||
}); | }); | ||
</script> | </script> | ||
</html> | </html> |
Revision as of 23:55, 11 August 2014