Bernie Kruger
12-05-2009, 07:22 AM
1) Script Title: SimpleGallery
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/simplegallery.htm
3) Describe problem:
I have a working copy of Simple Galley with multiple slides in a cropped "thumbnail" view.
The simple gallery offer the option to an "external link" I was wondering if this can be intgrated with lightbox2.04a?
Here what I am trying to achieve
var mygallery=new simpleGallery({
wrapperid: "simplegallery1", //ID of main gallery container,
dimensions: [250, 186], //width/height of gallery in pixels. Should reflect dimensions
//of the images exactly
imagearray: [
//["path_to_image", "optional_link", "optional_linktarget", "optional_textdescription"]
["examples/thumbs/Bath01.jpg", 'href="examples/Bath01.jpg" rel="lightbox"', ,],
["examples/thumbs/Bath02.jpg", , ,],
["examples/thumbs/Bath03.jpg", , ,],
["examples/thumbs/Bath04.jpg", , ,], . . .
With the leftright slideshow it works fine but one of the differences is the array in the latter is numeric delimited
//Specify the slider's images
var leftrightslide=new Array()
var finalslide=''
leftrightslide[1]='<a href="Solids/BirkdaleNaturalCherry.jpg" rel="lightbox[natural]" title="Birkdale Natural Cherry"><img src="Solids/thumbs/BirkdaleNaturalCherry.jpg"border=0></a>'
it basically boils down to being able to click on a "slideshow thumbnail" and associate it with rel="lightbox[]"
The way it is now it returns an error. I am guessing I will have to declare the array differently.
Nothing published yet. as there is a huge amount of pics that must go with it.
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/simplegallery.htm
3) Describe problem:
I have a working copy of Simple Galley with multiple slides in a cropped "thumbnail" view.
The simple gallery offer the option to an "external link" I was wondering if this can be intgrated with lightbox2.04a?
Here what I am trying to achieve
var mygallery=new simpleGallery({
wrapperid: "simplegallery1", //ID of main gallery container,
dimensions: [250, 186], //width/height of gallery in pixels. Should reflect dimensions
//of the images exactly
imagearray: [
//["path_to_image", "optional_link", "optional_linktarget", "optional_textdescription"]
["examples/thumbs/Bath01.jpg", 'href="examples/Bath01.jpg" rel="lightbox"', ,],
["examples/thumbs/Bath02.jpg", , ,],
["examples/thumbs/Bath03.jpg", , ,],
["examples/thumbs/Bath04.jpg", , ,], . . .
With the leftright slideshow it works fine but one of the differences is the array in the latter is numeric delimited
//Specify the slider's images
var leftrightslide=new Array()
var finalslide=''
leftrightslide[1]='<a href="Solids/BirkdaleNaturalCherry.jpg" rel="lightbox[natural]" title="Birkdale Natural Cherry"><img src="Solids/thumbs/BirkdaleNaturalCherry.jpg"border=0></a>'
it basically boils down to being able to click on a "slideshow thumbnail" and associate it with rel="lightbox[]"
The way it is now it returns an error. I am guessing I will have to declare the array differently.
Nothing published yet. as there is a huge amount of pics that must go with it.