• Hi,

    sorry for my bad english.

    I copy a content of a container in another container. The content contains a wordpress-gallery. I use document.getElementById(xxx).innerHTML. All works fine.

    But the lightbox does not work with the copy of the gallery. After clicking on a picture only the url of the image is loading, no lightbox. The other galleries, as well as the original source gallery, works fine.

    I read somewhere that lightbox after loading the page “registered” ( ? ) all images? And I have to start this function after copying again? How?

    Thanks for your help!

  • The topic ‘Lightbox doesn’t work after copy gallery (javascript)’ is closed to new replies.