'show()' Example : show « Javascript Methods « JavaScript Reference

'show()' Example

    
<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

1.'show()' Syntax, Parameters and Note
2.'show()' is applied to