It is currently Thu Sep 18, 2014 3:41 pm Advanced search

How can I auto close an iframe?

Frequently asked questions.

How can I auto close an iframe?

Postby torstein.honsi » Tue Apr 28, 2009 9: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>
Torstein Hønsi
CTO, Founder
Highsoft Solutions
User avatar
torstein.honsi
Site Admin
 
Posts: 9198
Joined: Thu Nov 09, 2006 1:22 pm
Location: Vik i Sogn, Norway

Return to Highslide FAQ

Who is online

Users browsing this forum: No registered users and 1 guest