Can there be more than one shadowbox gallery on the page.

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Can there be more than one shadowbox gallery on the page.

Jenny
I have two different images and I want to open a separate shadowbox gallery for each.  The first gallery opens perfectly, but the next one continues to show the "Loading" symbol and never opens my other images.  Can there be more than one shadowbox gallery on a page? Is my code correct calling in the shadowbox?
div class="project-item"
a href="css/images/projects/project1/project1a.jpg" rel="shadowbox[1]" class="images">
           img src="css/images/projects/project1/project1_t.jpg" alt="" class="images" />
                    a href="css/images/projects/project1/project1b.jpg" rel="shadowbox[1]">
                    a href="css/images/projects/project1/project1c.jpg" rel="shadowbox[1]">
                    a href="css/images/projects/project1/project1d.jpg" rel="shadowbox[1]">
                     a href="css/images/projects/project1/project1e.jpg" rel="shadowbox[1]">

div class="project-item">
a href="css/images/projects/project1/project2a.jpg" rel="shadowbox[2]" class="images" >
         img src="css/images/projects/project2/project2_t.jpg" alt="" />
                    a href="css/images/projects/project1/project2b.jpg" rel="shadowbox[2]">
                    a href="css/images/projects/project1/project2c.jpg" rel="shadowbox[2]">
                    a href="css/images/projects/project1/project2d.jpg" rel="shadowbox[2]">
                     a href="css/images/projects/project1/project2e.jpg" rel="shadowbox[2]">

Reply | Threaded
Open this post in threaded view
|

Re: Can there be more than one shadowbox gallery on the page.

dataload
Yes you can, and the markup you've posted looks right (apart from some missing </a> tags - but I'm assuming that's just on the sample you've posted). I'd check to make sure the paths to the images are correct (it looks like your looking for the project2 images in the project1 folder from what you've posted below).