Template:Team:Macquarie Australia/Phototest1
From 2013.igem.org
(Difference between revisions)
(19 intermediate revisions not shown) | |||
Line 20: | Line 20: | ||
div.slide{ /* CSS for each image's DIV container within main container */ | div.slide{ /* CSS for each image's DIV container within main container */ | ||
background-color: black; | background-color: black; | ||
- | background-position: center; /* center image within carousel */ | + | background-position: center center; /* center image within carousel */ |
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
background-size: cover; /* CSS3 property to scale image within container? "cover" or "contain" */ | background-size: cover; /* CSS3 property to scale image within container? "cover" or "contain" */ | ||
Line 71: | Line 71: | ||
wrapperid: 'mybgcarousel', //ID of blank DIV on page to house carousel | wrapperid: 'mybgcarousel', //ID of blank DIV on page to house carousel | ||
imagearray: [ | imagearray: [ | ||
- | ['https://static.igem.org/mediawiki/2013/c/ce/MQlakeBigheader.jpg', '< | + | ['https://static.igem.org/mediawiki/2013/c/ce/MQlakeBigheader.jpg', '<img src = https://static.igem.org/mediawiki/2013/4/42/MQlogomini6.fw.png> <br>We know green'], // ["image_path", "optional description"] |
- | + | <!-- ['https://static.igem.org/mediawiki/2013/8/8a/2696_20110801_10_John_Gollings_Macquarie_University.jpg', '<h2>Macquarie Uni Library</h2>Stay in school'], --> | |
- | ['https://static.igem.org/mediawiki/2013/3/34/Nangla-Maq-Uni-009.jpg', ''], | + | <!-- ['https://static.igem.org/mediawiki/2013/3/34/Nangla-Maq-Uni-009.jpg', ''], --> |
- | ['https://static.igem.org/mediawiki/2013/ | + | ['https://static.igem.org/mediawiki/2013/1/13/GreenBulb2.fw.png', ''], |
+ | |||
+ | ['https://static.igem.org/mediawiki/2013/a/a5/Harry_Banner.jpg', 'Chlorophyll Man!'], | ||
+ | |||
+ | ['https://static.igem.org/mediawiki/2013/b/b6/Banner3.jpg', ''] | ||
+ | |||
+ | //<--no trailing comma after very last image element! | ||
], | ], | ||
displaymode: {type:'auto', pause:3000, cycles:0, stoponclick:false, pauseonmouseover:true}, | displaymode: {type:'auto', pause:3000, cycles:0, stoponclick:false, pauseonmouseover:true}, | ||
- | navbuttons: ['https://static.igem.org/mediawiki/2013/ | + | navbuttons: ['https://static.igem.org/mediawiki/2013/b/b0/LeftButton1.fw.png', 'https://static.igem.org/mediawiki/2013/8/87/RightButton1.fw.png', 'up.gif', 'down.gif'], // path to nav images |
activeslideclass: 'selectedslide', // CSS class that gets added to currently shown DIV slide | activeslideclass: 'selectedslide', // CSS class that gets added to currently shown DIV slide | ||
orientation: 'h', //Valid values: "h" or "v" | orientation: 'h', //Valid values: "h" or "v" |
Latest revision as of 23:13, 16 October 2013