var mygallery2=new simpleGallery({ wrapperid: "simplegallery2", //ID of main gallery container,
dimensions: [400, 265], //width/height of gallery in pixels. Should reflect dimensions of the images exactly
imagearray: [
["image-files/flower-picture-1.jpg", "", "_new", "A Nice Use Of An Old Wagon."],
["image-files/flower-picture-2.jpg", "", "_new", "Half Whiskey Barrel Planters."],
["image-files/flower-picture-3.jpg", "", "_new", "Even An Old Box Makes A Good Planter."],
["image-files/flower-picture-4.jpg", "", "_new", "Another Old Wagon Put To Good Use."],
["image-files/flower-picture-6.jpg", "", "_new", "A Cluster Of Whiskey Barrels Creates A Nice Display."],
["image-files/flower-picture-7.jpg", "", "_new", "Beautiful Coleus."],
["image-files/flower-picture-8.jpg", "", "_new", "A Full Barrel Makes This Combo Really Stand Out."]
],
autoplay: [false, 4500, 2], //[auto_play_boolean, delay_btw_slide_millisec, cycles_before_stopping_int]
persist: true,
fadeduration: 1000, //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)
}
})