Ultra fast cheap  linux and windows hosting
javascript tutorial Browse Basic JavaScript Tutorial
Browse JavaScript Script resources
Browse javascript FAQS
Categories:

javascript tutorial
buy template
Home >> Tutorials >> Advanced javascript tutorials
Javascript >> Popup window example

Open popup On-load

This example shows how popup window open when you load the page. It uses the onload event.

<html> <head><script language="JavaScript">
function pop() {
var W1 = window.open('window5.htm','Popup1',"toolbar=no,status=no,location=yes, directories=no,menubar=no,scrollbars=yes,resizable=yes,width=160,height=160");
}
</script></head>

<body onload="pop()" >
</body></html>

Open two popup On-load

View example

 


Page contents: itechies.net - Learn how popup window open when you load the page.
javascript tutorial
javascript book
Buy this book