HTML Code:
<script type="text/javascript">
var mygallery=new simpleGallery({
wrapperid: "bombardier-f18", //ID of main gallery container,
dimensions: [222, 135], //width/height of gallery in pixels. Should reflect dimensions of the images exactly
imagearray: [
["youtube/b/f18-1.png", "", ""],
["youtube/b/f18-2.png", "", ""],
["youtube/b/f18-3.png", "", ""],
],
autoplay: true,
persist: false,
pause: 2500, //pause between slides (milliseconds)
fadeduration: 500, //transition duration (milliseconds)
oninit:function(){ //event that fires when gallery has initialized/ ready to run
},
onslide:function(curslide, i){ //event that fires after each slide is shown
//curslide: returns DOM reference to current slide's DIV (ie: try alert(curslide.innerHTML)
//i: integer reflecting current image within collection being shown (0=1st image, 1=2nd etc)
}
})
</script>
<script type="text/javascript">
var mygallery2=new simpleGallery({
wrapperid: "bombardier-crj", //ID of main gallery container,
dimensions: [222, 135], //width/height of gallery in pixels. Should reflect dimensions of the images exactly
imagearray: [
["youtube/b/crj-1.png", "", ""],
["youtube/b/crj-2.png", "", ""],
["youtube/b/crj3.png", "", ""],
],
autoplay: true,
persist: false,
pause: 2500, //pause between slides (milliseconds)
fadeduration: 500, //transition duration (milliseconds)
oninit:function(){ //event that fires when gallery has initialized/ ready to run
},
onslide:function(curslide, i){ //event that fires after each slide is shown
//curslide: returns DOM reference to current slide's DIV (ie: try alert(curslide.innerHTML)
//i: integer reflecting current image within collection being shown (0=1st image, 1=2nd etc)
}
})
</script>
Bookmarks