Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

full screen in parent

Status
Not open for further replies.

sm57

Programmer
Oct 26, 2003
3
0
0
US
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=&quot;JavaScript&quot;>
<!--
//-->
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
</SCRIPT>
</HEAD>

<BODY BGCOLOR=#333333 ONLOAD=&quot;preloadImages()&quot;>
<A HREF=&quot;#&quot;
onClick=&quot;MM_openBrWindow('pop.html','','status=yes,width=600,height=485');&quot;>
<IMG SRC=&quot;logo.gif&quot; WIDTH=81 HEIGHT=84 BORDER=0></A>
</BODY>
</HTML>


on my popup:

<html>
<head>
<title>Pop up test</title>

<SCRIPT LANGUAGE=&quot;JavaScript&quot;>
<!--
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 == &quot;Netscape&quot;) {
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top