Learn how to Activate a Popup JavaScript window


0

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>



Like it? Share with your friends!

0

What's Your Reaction?

hate hate
0
hate
confused confused
0
confused
fail fail
0
fail
fun fun
0
fun
geeky geeky
0
geeky
love love
0
love
lol lol
0
lol
omg omg
0
omg
win win
0
win
Anand Narayanaswamy
Anand Narayanaswamy is the editor-in-chief of Learnxpress. He was a Microsoft Most Valuable Professional (MVP) for a period of 9 years. He is a ASPInsider based in Trivandrum, Kerala State, India. Anand is the author of Community Server Quickly published by Packt Publishing.

One Comment

Your email address will not be published. Required fields are marked *

  1. Great goods from you, man. I have understand your stuff previous to
    and you’re just extremely fantastic. I really like whqt you’ve acquired here, certainly like what you’re saying annd
    the way in which you say it. You maje it enjoyable and you still
    care for to keep it smart. I can not wait to read much more from you.
    This is actually a terrific site.