Want to display a popup window when a page is loaded/turned to by your audience?
The following javascript code that can use that will do the job for you if placed into a custom script page widget.
The values indicated in RED are changeable.
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<SCRIPT LANGUAGE="JavaScript">
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Begin
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars= 1,location=0,statusbar=0,menubar=0,resizable=0,width=500,height=500,left = 1030,top = 475');");
}
// End -->
</script>
</head>
<body>
<BODY onLoad="javascript:popUp('HTTP://WWW.THEPAGEYOUWANTELOADED.COM')">
<!-- Script Size: 0.73 KB -->
</body>
Comments
0 comments
Please sign in to leave a comment.