You Are Here: Home »   Code

Code Library - js

Window Popup - (1,463 views)


Put this in between the <head> and </head> tags:

<script language="javascript">
function popup() {
open('pagename.htm','newwin','toolbar=0,location=0,directories=0, status=1, menubar=0,scrollbars=1,resizable=0,width=500,height=500')
}
</script>

Then in the body section:

<body onLoad="popup()">