|
Hi, Is it possible to run the lightbox effect from inside a mb.containerplus? I've tried to add all the .js libraries from both effects in the same file, but together the page doesn't open. How can I achieve this? Also, when openning the lightbox effect page through an iframe inserted in the mb.containerplus page, the lightbox effect only opened inside the container itself, rather than in fullscreen as expected. How can I How can I click on a thumbnail of the lightbox page inside a container and make it show fullscreen on the whole page? Thanks, David |
|
I've never tried lightbox inside a containerPlus but I think it should work; of course it can't work if you are trying to load lightbox inside an iframe while the .js files are in the main page; the iframe is exactly anothe page that doesn't share either js or css files. And that's why your images can't go in full screen; they are in full screen relative to the iframe itself. You should write and initialize lightbox directly inside the content area of the container. If you have a public url of your page I can try to help you. 1
here is a simple example of lightbox integrated with jquery.mb.containerPlus. I had to modify the lightbox.js file to make the z-index work fine with containers. if you need just use the lightbox js file included in the demo. http://dl.dropbox.com/u/1976976/jquery.mb.containerPlus_lightbox.zip
(May 24 '10 at 22:27)
Matteo Bicocchi ♦♦
Thanks a lot! It is just working perfectly. Now just finetunning it. Sometime this week I'll release the page online and I'll post the url. Thanks again! David
(May 25 '10 at 04:23)
dtr
Hi, I've implemented it, and on a first momment it went perfect, BUT, when trying to add a second gallery on the same page on a second container, both opened when the page is called, even when trying to give 2 different names for ex: "<a href="imagens/logos/lg_tv-aberta.jpg" rel="lightbox[logotipos]" ..." and "<a href="imagens/logos/lg_tv-aberta.jpg" rel="lightbox[papelaria]" ..." when clicking on an image (in either galleries the show as a single set of pictures. When using the regular Lightbox, the simple change of the name makes them, different set of picture galleries. how to solve it?
(May 27 '10 at 03:04)
dtr
|


