I want to automatically close a fancybox iframe, but I want to give it a delay.
$(document).ready(function() {
parent.$.fancybox.close();
});
The code above will automatically close the window successfully, but I want to add a delay, so they may read the message the page displays before it auto closes for them.