Template:Team:Macquarie Australia/Phototest1
From 2013.igem.org
(Difference between revisions)
(40 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
<html lang="en"> | <html lang="en"> | ||
<head> | <head> | ||
- | |||
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> | <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> | ||
Line 9: | Line 8: | ||
div.bgcarousel{ /* CSS for main carousel container */ | div.bgcarousel{ /* CSS for main carousel container */ | ||
- | background: black url( | + | background: black url(https://static.igem.org/mediawiki/2013/8/8f/Ajaxload.gif) center center no-repeat; /* loading gif while caoursel is loading */ |
width:975px; /* default dimensions of carousel */ | width:975px; /* default dimensions of carousel */ | ||
height:250px; | height:250px; | ||
Line 57: | Line 56: | ||
</style> | </style> | ||
- | <script src=" | + | <script src="http://yourjavascript.com/487241381/bgcarousel.js" type="text/javascript"> |
/*********************************************** | /*********************************************** | ||
Line 72: | 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/3/34/Nangla-Maq-Uni-009.jpg', ' | + | <!-- ['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/ | + | |
+ | <!-- ['https://static.igem.org/mediawiki/2013/3/34/Nangla-Maq-Uni-009.jpg', ''], --> | ||
+ | |||
+ | ['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: [' | + | 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" | ||
Line 84: | Line 92: | ||
slideduration: 500 //transition duration (milliseconds) | slideduration: 500 //transition duration (milliseconds) | ||
}) | }) | ||
+ | |||
</script> | </script> |
Latest revision as of 23:13, 16 October 2013