Team:Macquarie Australia/Phototest1
From 2013.igem.org
(Difference between revisions)
Line 10: | Line 10: | ||
div.bgcarousel{ /* CSS for main carousel container */ | div.bgcarousel{ /* CSS for main carousel container */ | ||
background: black url(ajaxload.gif) center center no-repeat; /* loading gif while caoursel is loading */ | background: black url(ajaxload.gif) center center no-repeat; /* loading gif while caoursel is loading */ | ||
- | width: | + | width:965px; /* default dimensions of carousel */ |
- | height: | + | height:250px; |
} | } | ||
Line 72: | Line 72: | ||
wrapperid: 'mybgcarousel', //ID of blank DIV on page to house carousel | wrapperid: 'mybgcarousel', //ID of blank DIV on page to house carousel | ||
imagearray: [ | imagearray: [ | ||
- | [' | + | ['File:ImageBar55.png]', '<h2>Autumn Day</h2>The sun peaks through the trees, a knife that cuts through the chill, crisp air.'], //["image_path", "optional description"] |
['chime.jpg', '<h2>Wind Chime</h2>The bellweather of the sky, the chime speaks of impending turmoil.'], | ['chime.jpg', '<h2>Wind Chime</h2>The bellweather of the sky, the chime speaks of impending turmoil.'], | ||
['girlportrait.jpg', 'The scent of spring invigorates her as she inhales whilst the warm breeze brings a wave of tranquility.'], | ['girlportrait.jpg', 'The scent of spring invigorates her as she inhales whilst the warm breeze brings a wave of tranquility.'], | ||
Line 87: | Line 87: | ||
</script> | </script> | ||
- | <div id=" | + | <div id="firstbgcarousel" class="bgcarousel"></div> |
Revision as of 16:42, 1 August 2013