scaron / prettyphoto

prettyPhoto is a jQuery based lightbox clone. Not only does it support images, it also add support for videos, flash, YouTube, iFrames. It’s a full blown media lightbox. The setup is easy and quick, plus the script is compatible in every major browser.
http://www.no-margin-for-errors.com/projects/prettyPhoto-jquery-lightbox-clone/
553 stars 281 forks source link

How to rebind prettyPhoto to items upon change? #143

Open 2hamed opened 10 years ago

2hamed commented 10 years ago

I'm currently using prettyPhoto alongside Gridalicious for my web application. The problem here is Gridalicious often needs to reorder elements and while doing so it unbinds the event needed for prettyPhoto to work. (It's my assumption at least!).

So my question is how to avoid this problem?