Popup window with window.open : open : Window JAVASCRIPT TUTORIALS


JAVASCRIPT TUTORIALS » Window » open »

 

Popup window with window.open

















<html>
<head>
<script language="JavaScript" type = "text/javascript">
<!--
function GreetingWin()
{
 DisplayGreeting = window.open("""_blank""toolbar=no, status=no, width=200,height=200");
 greeting = "<b>Good Morning!</b>"
 DisplayGreeting.document.write(greeting);
}
//-->
</script>
</head>
<body>
<input type="button" value="Click Button" onClick="GreetingWin()">
</body>
</html>







HTML code for linking to this page:

Follow Navioo On Twitter

JAVASCRIPT TUTORIALS

 Navioo Window
» open