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.
while loading dynamically images to the DOM, i'm calling $.prettyPhoto to re-generate these images under prettyPhoto. but for some reason sometimes after browsing 3-4 images everything is stuck and I get the following error message in the console:
Uncaught RangeError: Maximum call stack size exceeded (jquery.js:2)
while loading dynamically images to the DOM, i'm calling $.prettyPhoto to re-generate these images under prettyPhoto. but for some reason sometimes after browsing 3-4 images everything is stuck and I get the following error message in the console:
Uncaught RangeError: Maximum call stack size exceeded (jquery.js:2)
Any ideas?