简体   繁体   中英

jquery lightbox, flickrpress, combo not working on a wordpress site?

I have a wordpress site that uses the flickrpress plugin and jquery lightbox plugin to display a gallery of images, it works fine on the first page but on the next page doesn't launch jquery, really not sure why? Here's a link to the page http://bit.ly/herSaZ

Thanks

If you load new html content after lightbox is initialized as you are doing via AJAX, that new content won't go through the lightbox functions at anytime. It's a guess, but it makes sense to me.

I didn't test this, but what if you try adding a hardcoded link to the thumbs: <a onclick="lightbox.start(this); return false;" > <a onclick="lightbox.start(this); return false;" > ? This way the problem shouldn't occur, if it indeed this is the error.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM