How can I auto close an iframe?
Posted: Tue Apr 28, 2009 7:15 am
Put the code below in the page opened in the iframe popup.
Code: Select all
<script type='text/javascript'>
setTimeout(function () {
try {
parent.window.hs.getExpander().close();
} catch (e) {}
}, 3000);
</script>