Team:Cornell
From 2013.igem.org
(Difference between revisions)
Line 4: | Line 4: | ||
<script src="https://2013.igem.org/Team:Cornell/javascripts/mycodraw?action=raw&ctype=text/javascript"></script> | <script src="https://2013.igem.org/Team:Cornell/javascripts/mycodraw?action=raw&ctype=text/javascript"></script> | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
- | + | $(window).load(function() { | |
- | + | $('#homepage-slideshow').orbit({ | |
+ | animation : 'horizontal-push', // fade, horizontal-slide, vertical-slide, horizontal-push | ||
+ | animationSpeed : 800, // how fast animtions are | ||
+ | timer : true, // true or false to have the timer | ||
+ | resetTimerOnClick : false, // true resets the timer instead of pausing slideshow progress | ||
+ | advanceSpeed : 8000, // if timer is enabled, time between transitions | ||
+ | pauseOnHover : false, // if you hover pauses the slider | ||
+ | startClockOnMouseOut : false, // if clock should start on MouseOut | ||
+ | startClockOnMouseOutAfter : 1000, // how long after MouseOut should the timer start again | ||
+ | directionalNav : true, // manual advancing directional navs | ||
+ | captions : false, // do you want captions? | ||
+ | captionAnimation : 'fade', // fade, slideOpen, none | ||
+ | captionAnimationSpeed : 400, // if so how quickly should they animate in | ||
+ | bullets : true, // true or false to activate the bullet navigation | ||
+ | bulletThumbs : false, // thumbnails for the bullets | ||
+ | bulletThumbLocation : '', // location from this file where thumbs will be | ||
+ | afterSlideChange : function() { | ||
+ | }, // empty function | ||
+ | fluid : true // or set a aspect ratio for content slides (ex: '4x3') | ||
}); | }); | ||
+ | $('li.pg-home').addClass('active'); | ||
+ | }); | ||
</script> | </script> | ||
<style type="text/css"> | <style type="text/css"> |
Revision as of 20:24, 27 September 2013