Hide a window
<html> <body> <script language="JavaScript"> var myPopup function function1() { myPopup = window.createPopup(); myPopup.document.body.style.backgroundColor = 'yellow'; myPopup.show(100,100,100,200,document.body); } </script> <input type="button" value="Show popup window" onclick="function1();"> <input type="button" value="Hide popup window" onclick="myPopup.hide();"> </body> </html>
Related examples in the same category