Template:Team:Oxford/templates/footer
From 2014.igem.org
(Difference between revisions)
Line 30: | Line 30: | ||
</div> | </div> | ||
</div> | </div> | ||
+ | |||
+ | <script> | ||
+ | $(document).ready(function () { | ||
+ | $('.bxslider').bxSlider({ | ||
+ | |||
+ | }); | ||
+ | YUI({ | ||
+ | classNamePrefix: 'pure' | ||
+ | }).use('gallery-sm-menu', function (Y) { | ||
+ | |||
+ | var horizontalMenu = new Y.Menu({ | ||
+ | container: '#main_nav', | ||
+ | sourceNode: '#std-menu-items', | ||
+ | orientation: 'horizontal', | ||
+ | hideOnOutsideClick: false, | ||
+ | hideOnClick: false | ||
+ | }); | ||
+ | |||
+ | horizontalMenu.render(); | ||
+ | horizontalMenu.show(); | ||
+ | |||
+ | }); | ||
+ | $(".youtube").colorbox({ | ||
+ | iframe: true, | ||
+ | innerWidth: 640, | ||
+ | innerHeight: 390 | ||
+ | }); | ||
+ | |||
+ | $(".iframe").colorbox({ | ||
+ | iframe: true, | ||
+ | width: "80%", | ||
+ | height: "80%" | ||
+ | }); | ||
+ | $(".accordion").accordion({ | ||
+ | heightStyle: "content", | ||
+ | collapsible: true, | ||
+ | active: false | ||
+ | }); | ||
+ | smoothScroll.init({ | ||
+ | offset: 40 | ||
+ | |||
+ | }); | ||
+ | |||
+ | |||
+ | }); | ||
+ | </script> | ||
<div id="Achievementswrap" onClick="AchievementsHide()" style="position:fixed;z-index:11;width:100%; height:100%;background-color: rgba(0,0,0,0.1);display:none;"> | <div id="Achievementswrap" onClick="AchievementsHide()" style="position:fixed;z-index:11;width:100%; height:100%;background-color: rgba(0,0,0,0.1);display:none;"> |
Revision as of 02:37, 18 October 2014