running lightbox from a element which has been loaded with ajax

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

running lightbox from a element which has been loaded with ajax

Christian Benke-2

Hello!

I have a "main-page" with gallery-links and some separate gallery-
pages. Clicking the links on the "main-page" loads the gallery-page
with ajax in a gallery-element.

Lightbox on the gallery-pages works fine when i call them
individually, but the lightbox-code doesn't seem to be run when i load
the gallery via ajax, the large version of the image is opened instead
of the overlay.
I suspect there is a problem with the separate loading of the
libraries and some code is not available when the lightbox is run, but
i've tried  to load the jquery-library from the main-page only, load
both from the main-page, load both libraries from both pages etc., non
of them worked.

I'm a javascript-beginner, so i find it difficult to understand what
is going on in the background, firebug didn't complain - hope someone
can find i a minute to .

You can find some the examples here:
"main-page":
http://benko.login.cx:4000/shared/lightbox/index.html

"gallery-page":
http://benko.login.cx:4000/shared/lightbox/gallery.html

Best regards
Christian
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "jQuery Plugins" group.
To post to this group, send email to [hidden email]
To unsubscribe from this group, send email to [hidden email]
For more options, visit this group at http://groups.google.com/group/jquery-plugins?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply | Threaded
Open this post in threaded view
|

Re: running lightbox from a element which has been loaded with ajax

Christian Benke-2

btw - i'm talking about this plugin: http://plugins.jquery.com/project/jquerylightbox_bal
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "jQuery Plugins" group.
To post to this group, send email to [hidden email]
To unsubscribe from this group, send email to [hidden email]
For more options, visit this group at http://groups.google.com/group/jquery-plugins?hl=en
-~----------~----~----~----~------~----~------~--~---