Team:Heidelberg/NivoSlider
From 2010.igem.org
(Difference between revisions)
(13 intermediate revisions not shown) | |||
Line 57: | Line 57: | ||
.nivo-directionNav a { | .nivo-directionNav a { | ||
position:absolute; | position:absolute; | ||
- | top: | + | top:40%; |
z-index:99; | z-index:99; | ||
cursor:pointer; | cursor:pointer; | ||
display:block; | display:block; | ||
- | width: | + | width:25px; |
height:50px; | height:50px; | ||
background:url(https://static.igem.org/mediawiki/2010/f/f0/Arrows.png) no-repeat; | background:url(https://static.igem.org/mediawiki/2010/f/f0/Arrows.png) no-repeat; | ||
Line 68: | Line 68: | ||
} | } | ||
a.nivo-nextNav { | a.nivo-nextNav { | ||
- | background-position:- | + | background-position:-25px 0; |
- | right: | + | right:0px; |
} | } | ||
a.nivo-prevNav { | a.nivo-prevNav { | ||
- | left: | + | left:0px; |
} | } | ||
/* Control nav styles (e.g. 1,2,3...) */ | /* Control nav styles (e.g. 1,2,3...) */ | ||
Line 125: | Line 125: | ||
.nivo-directionNav a { | .nivo-directionNav a { | ||
display:block; | display:block; | ||
- | width: | + | width:25px; |
height:50px; | height:50px; | ||
background:url(https://static.igem.org/mediawiki/2010/f/f0/Arrows.png) no-repeat; | background:url(https://static.igem.org/mediawiki/2010/f/f0/Arrows.png) no-repeat; | ||
Line 132: | Line 132: | ||
} | } | ||
a.nivo-nextNav { | a.nivo-nextNav { | ||
- | background-position:- | + | background-position:-25px 0; |
- | right: | + | right:-1px; |
} | } | ||
a.nivo-prevNav { | a.nivo-prevNav { | ||
- | left: | + | left:-10px; |
} | } | ||
Line 174: | Line 174: | ||
position:absolute; | position:absolute; | ||
left:29%; | left:29%; | ||
- | bottom:- | + | bottom:-60px; |
} | } | ||
#slider .nivo-controlNav img { | #slider .nivo-controlNav img { | ||
Line 287: | Line 287: | ||
slices:3, | slices:3, | ||
animSpeed:500, //Slide transition speed | animSpeed:500, //Slide transition speed | ||
- | pauseTime: | + | pauseTime:8000, |
startSlide:0, //Set starting Slide (0 index) | startSlide:0, //Set starting Slide (0 index) | ||
directionNav:true, //Next & Prev | directionNav:true, //Next & Prev |
Latest revision as of 00:21, 18 November 2010