Template:Uppsala-SwedenTemplate2
From 2011.igem.org
(Difference between revisions)
Line 87: | Line 87: | ||
settings.afterLoad.call(this);return this;};$.fn.nivoSlider=function(options){return this.each(function(key,value){var element=$(this);if(element.data('nivoslider'))return element.data('nivoslider');var nivoslider=new NivoSlider(this,options);element.data('nivoslider',nivoslider);});};$.fn.nivoSlider.defaults={effect:'random',slices:15,boxCols:8,boxRows:4,animSpeed:500,pauseTime:3000,startSlide:0,directionNav:true,directionNavHide:true,controlNav:true,controlNavThumbs:false,controlNavThumbsFromRel:false,controlNavThumbsSearch:'.jpg',controlNavThumbsReplace:'_thumb.jpg',keyboardNav:true,pauseOnHover:true,manualAdvance:false,captionOpacity:0.8,prevText:'Prev',nextText:'Next',beforeChange:function(){},afterChange:function(){},slideshowEnd:function(){},lastSlide:function(){},afterLoad:function(){}};$.fn._reverse=[].reverse;})(jQuery); | settings.afterLoad.call(this);return this;};$.fn.nivoSlider=function(options){return this.each(function(key,value){var element=$(this);if(element.data('nivoslider'))return element.data('nivoslider');var nivoslider=new NivoSlider(this,options);element.data('nivoslider',nivoslider);});};$.fn.nivoSlider.defaults={effect:'random',slices:15,boxCols:8,boxRows:4,animSpeed:500,pauseTime:3000,startSlide:0,directionNav:true,directionNavHide:true,controlNav:true,controlNavThumbs:false,controlNavThumbsFromRel:false,controlNavThumbsSearch:'.jpg',controlNavThumbsReplace:'_thumb.jpg',keyboardNav:true,pauseOnHover:true,manualAdvance:false,captionOpacity:0.8,prevText:'Prev',nextText:'Next',beforeChange:function(){},afterChange:function(){},slideshowEnd:function(){},lastSlide:function(){},afterLoad:function(){}};$.fn._reverse=[].reverse;})(jQuery); | ||
</script> | </script> | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
<!--- end of slid show ---> | <!--- end of slid show ---> | ||
Line 190: | Line 186: | ||
/* http://dev7studios.com | /* http://dev7studios.com | ||
/*=================================*/ | /*=================================*/ | ||
- | + | <!--- | |
/*====================*/ | /*====================*/ | ||
/*=== Reset Styles ===*/ | /*=== Reset Styles ===*/ | ||
Line 231: | Line 227: | ||
width:870px; /* Make sure your images are the same size */ | width:870px; /* Make sure your images are the same size */ | ||
height:246px; /* Make sure your images are the same size */ | height:246px; /* Make sure your images are the same size */ | ||
- | } | + | }---> |
<!---end of new --> | <!---end of new --> | ||
.hp {width:100%; position:relative;} | .hp {width:100%; position:relative;} |
Revision as of 09:49, 26 July 2011