Learn how to Activate a Popup JavaScript window


In this code sample, you will learn how to show a popup window using JavaScript

<html>
<head>
<script language = "javascript">
function Open(page) {
openwindow = this.open(page, "newWindow", "menubar = yes, 
scrollbars = yes, resizable = 1, width = 650, height = 500");
}
</script>
</head>
<body>
<a href = "javascript:Open("http://www.learnxpress.com");>Visit Learnxpress.com</a>
</body></html>

Exit mobile version
Skip to toolbar