Team:Cornell
From 2013.igem.org
(Difference between revisions)
R.Lizarralde (Talk | contribs) |
R.Lizarralde (Talk | contribs) |
||
Line 3: | Line 3: | ||
<head> | <head> | ||
<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> | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
<style type="text/css"> | <style type="text/css"> | ||
img#igem-attr { | img#igem-attr { | ||
Line 69: | Line 44: | ||
<div class="row"> | <div class="row"> | ||
</div> | </div> | ||
+ | <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> | ||
</body> | </body> | ||
</html> | </html> |
Revision as of 20:46, 27 September 2013