Team:UCLA/Template/Javascript
From 2014.igem.org
(Difference between revisions)
Samichaels (Talk | contribs) |
Samichaels (Talk | contribs) |
||
Line 110: | Line 110: | ||
<!--STICKY SIDEBAR--> | <!--STICKY SIDEBAR--> | ||
- | <script | + | <!--js--> |
- | + | <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> | |
- | + | <script src="js/stickySidebar.js"></script> | |
- | + | ||
- | + | <script> | |
- | + | $(document).ready(function() { | |
- | + | ||
- | + | $('#sidebar').stickySidebar({ | |
- | + | sidebarTopMargin: 20, | |
- | + | footerThreshold: 100 | |
- | </script> | + | }); |
+ | |||
+ | }); | ||
+ | </script> | ||
</html> | </html> |
Revision as of 23:50, 4 August 2014