Script Categories













Menus and Navigation >>> Popup Page.

JavaScript can open another window a specified number of seconds after the first page finishes loading. This popup page can function as an advertising window, some tips on navigating your site, what's new, and lots more.

Add the below code to the <body> section of your page:

<script language="javascript" type="text/javascript">      
/* Visit http://www.yaldex.com/ for full source code
and get more free JavaScript, CSS and DHTML scripts! */
<!-- Begin
function popupPage() {
var page = "http://yaldex.com/JSFactory_Pro.htm";
windowprops = "height=500,width=500,location=no,"
+ "scrollbars=no,menubars=no,toolbars=no,resizable=yes";

window.open(page, "Popup", windowprops);
}
function Go()
{
setTimeout('popupPage()', 5000);
//5000 represents the delay time in
// milliseconds.  2000 = 2 secs, etc.
}
window.onload=Go;
//  End -->
</script>

JavaScript Editor Get Advanced
JavaScript and Ajax Editor,
Validator and Debugger!

1st JavaScript Editor.



Code was highlighted by 1st JavaScript Editor (The Best JavaScript Editor!).




©