PDA

View Full Version : Help with Lightbox


codepoit
06-14-2007, 02:42 PM
Hey everyone,

I have used Lightbox 2.0 successfully in the past on my browse page. I'm not using it there anymore. I have an idea I want to try using Lightbox, and I'm not sure if it's possible or not. I can't get it to work so far. I have created a new page using miniCMS, hopefully to use for slideshows. (http://www.thelastrewind.com/index.php?x=page&title=slideshows)

I have all of the Lighbox stuff set up, and using either a text link, or a thumbnail, I can get the first image of the slideshow to popup in lightbox. The problem is, unless I list each image as a separate link on the page, I can't get Lighbox to scroll through the images. Obviously, I don't really want to have each image linked from the main slideshow page, but I can't seem to figure out another way to do it.

Any advice?

(I don't think it matters, but I'm still running pp v1.5)

codepoit
06-15-2007, 06:47 PM
bump de bump

codepoit
06-19-2007, 06:13 PM
I resolved this, in case anyone is interested...

Using CSS I had to define a class (calling it .lightbox) and give that class an attribute of display: none.

Then I just enclosed all of the links, except for the thumbnail in that div class.

You can see the result here (http://www.thelastrewind.com/index.php?x=page&title=slideshows).

Dkozikowski
06-19-2007, 07:22 PM
Nice, good work.

johncpiercy
07-11-2007, 02:57 AM
yes ,, I like this effect ,, Im going to have to lookup Lightbox

well done codepoit