Close prettyPhoto window from an iframe

Date: 2011-06-03

Closing around the forums has been discussed on how to close prettyPhoto modal from within an iframe. I've tried many of solutions posted there without success.
Here's one solutions on how to do it. To close prettyPhoto from an iframe just call the following: