View Full Version : changing contents under popup
From my homepage I launch a full-screen popup window that sits on top of the browser, I want to write a script that will load a new page in the main browser that will be revealed when the popup window is closed. Amy help appreciated
adios
07-04-2002, 12:23 AM
You don't need a script to load the new page - just do it all from one .html file.
<html>
<head>
<title>untitled</title>
<script type="text/javascript" language="JavaScript">
var mask = null;
var HTML = '<body bgcolor="black" onblur="self.focus()"></body>';
mask = open('javascript:opener.HTML','mask','fullscreen');
mask.focus();
onload = function() {
if (mask && !mask.closed) mask.close();
}
</script>
</head>
<body>
......
your page here
......
</body>
</html>
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.