Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 07-03-2002, 11:40 PM   PM User | #1
mak
New to the CF scene

 
Join Date: Jul 2002
Location: New York
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
mak is an unknown quantity at this point
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
mak is offline   Reply With Quote
Old 07-04-2002, 12:23 AM   PM User | #2
adios
Senior Coder

 
Join Date: Jun 2002
Posts: 1,404
Thanks: 2
Thanked 32 Times in 32 Posts
adios is on a distinguished road
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>
adios is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:04 PM.


Advertisement
Log in to turn off these ads.