i'm trying to launch a centered popup the make the parent (original) window go to full screen mode as a backdrop
here is what I have
on index.html:
<HTML>
<HEAD>
<TITLE>index</TITLE>
<SCRIPT LANGUAGE="JavaScript">
<!--
//-->
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
</SCRIPT>
</HEAD>
<BODY BGCOLOR=#333333 ONLOAD="preloadImages()">
<A HREF="#"
onClick="MM_openBrWindow('pop.html','','status=yes,width=600,height=485');">
<IMG SRC="logo.gif" WIDTH=81 HEIGHT=84 BORDER=0></A>
</BODY>
</HTML>
on my popup:
<html>
<head>
<title>Pop up test</title>
<SCRIPT LANGUAGE="JavaScript">
<!--
var netwide=612
var nethigh=500
var netx=(screen.availWidth - netwide) / 2
var nety=5
var iewide=624
var iehigh=495
var iex=(screen.width - iewide)/2
var iey=(screen.availHeight-iehigh)/2
if (navigator.appName == "Netscape" {
window.moveTo(netx, nety);
}
else {
window.moveTo(iex, iey);
}
// -->
</SCRIPT>
</head>
<BODY BGCOLOR=#333333>
test
</BODY>
</HTML>
any suggestions to modify this to make the parent window (index.html go to full screen?
ds
here is what I have
on index.html:
<HTML>
<HEAD>
<TITLE>index</TITLE>
<SCRIPT LANGUAGE="JavaScript">
<!--
//-->
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
</SCRIPT>
</HEAD>
<BODY BGCOLOR=#333333 ONLOAD="preloadImages()">
<A HREF="#"
onClick="MM_openBrWindow('pop.html','','status=yes,width=600,height=485');">
<IMG SRC="logo.gif" WIDTH=81 HEIGHT=84 BORDER=0></A>
</BODY>
</HTML>
on my popup:
<html>
<head>
<title>Pop up test</title>
<SCRIPT LANGUAGE="JavaScript">
<!--
var netwide=612
var nethigh=500
var netx=(screen.availWidth - netwide) / 2
var nety=5
var iewide=624
var iehigh=495
var iex=(screen.width - iewide)/2
var iey=(screen.availHeight-iehigh)/2
if (navigator.appName == "Netscape" {
window.moveTo(netx, nety);
}
else {
window.moveTo(iex, iey);
}
// -->
</SCRIPT>
</head>
<BODY BGCOLOR=#333333>
test
</BODY>
</HTML>
any suggestions to modify this to make the parent window (index.html go to full screen?
ds