Difference between revisions of "Team:Georgia State/Practices"
Line 113: | Line 113: | ||
<!-- END HEADER --> | <!-- END HEADER --> | ||
− | |||
</body> | </body> | ||
+ | <!-- JS --> | ||
+ | |||
+ | <script type="text/javascript" src="https://2015.igem.org/Template:Georgia_State/Javascript?action=raw&c type=text/javascript"></script> | ||
+ | <script src="js/jquery-1.11.2.min.js" type="text/javascript"></script> | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | <script type="text/javascript"> | ||
+ | // Onepage Nav Elements | ||
+ | $('.singlepage-nav').singlePageNav({ | ||
+ | offset: 0, | ||
+ | filter: ':not(.nav-external)', | ||
+ | updateHash: true, | ||
+ | currentClass: 'current-ele', | ||
+ | easing: 'swing', | ||
+ | speed: 750, | ||
+ | beforeStart: function () { | ||
+ | console.log('begin scrolling'); | ||
+ | }, | ||
+ | onComplete: function () { | ||
+ | console.log('done scrolling'); | ||
+ | } | ||
+ | }); | ||
+ | </script> | ||
</html> | </html> |
Revision as of 19:44, 2 September 2015