...

View Full Version : changing contents under popup



mak
07-04-2002, 12:40 AM
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, 01: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>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum