Show a Popup : window : Javascript Objects JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » Javascript Objects » window »

 

Show a Popup



    
<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>

    
      
      



-

Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo Javascript Objects
» window