Closing a prettyPhoto lightbox from inside iframe

Would like to run some Javascript in the iFrame which changes the height and width of the prettyPhoto lightbox window that it is in.

This is an example of lightbox in action:

This is how to close the window:
window.parent.$ .prettyPhoto.close();

newest questions tagged jquery – Stack Overflow

About Admin