Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2012, 05:18:50 PM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155544 Posts in 21714 Topics by 7736 Members
Latest Member: chris85
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Lightbox module question  (Read 333 times)
Bramus
Forum Team
*****
Offline Offline

Posts: 601


WWW
« on: February 11, 2011, 04:25:56 PM »

I'm using a modified Lightbox module where i used Shadowbox instead of Lightbox.

Now i have pages with 4x3 pictures (12 in total). When you click 1 picture it shows 1 of 12, while in the total gallery are like 70pictures.

That there are only 12 pictures on 1 page is good and just fine, but when i click and the Shadowbox / Lightbox comes out, i want to be able to not see only the first 12 but all the pictures.

This prevents people from closing the shadowbox, click to the next page, and then open up the shadowbox again.

Does any one know if it is easy to create this?
Logged

BRAMUS Internet Services
PurpleEdge

Offline Offline

Posts: 232



WWW
« Reply #1 on: February 12, 2011, 01:20:30 AM »

Is the shadow box being loaded from pictures within a dive - ie you have a div with 12 images in it?

Maybe you could load all 70 images into the div.

And then modify the div, or create another div, so that only 12 of the 70 are visible - eg fixed height div that only allows 12 images to be seen? When you call lightbox it would have a list of the 70 images??
Logged
Bramus
Forum Team
*****
Offline Offline

Posts: 601


WWW
« Reply #2 on: February 22, 2011, 09:28:37 PM »

Not sure how you where thinking on doing that? The lightbox is called by a class and javascript on the hyperlink + div. So that would involve showing all the images and not only 12, or giving it a second class (not on the 12 of the page  but the others) that has a display: none? is that what you mean?

The modules is exactly the same as lightbox, but then with a shadowbox jquery instead of lightbox. So it reads the folder and  then creates pages with X images you setup in the settings.
Logged

BRAMUS Internet Services
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!