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