javascript to have a new browser window open maximized or aligned top

P

Peter

Hi, can someone help me with this code below. This code is for a page
that opens another page with a flash file on it. What code do I have
to add here to have the page with the flash file (QuickStart.htm) open
maximized or aligned to the top of the screen (if that's possible)?

At the moment, the page opens kind of in the middle or a little to low
on some screens and you have to manually move the page up to see the
whole flash movie.
Thanks,
Tony
************************************************

<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
<script language="JavaScript">
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);}

//-->
</script>
<title>Analyzer Demo</title>
</head>

<body>
<p><font color="#0033FF" size="+2">Analyzer</font></p>
<a href="javascript:MM_openBrWindow('QuickStart.htm','Interactive_Demo','status=yes,menubar=no,scrollbars=no,resizable=no,width=900,height=680')"><em><b>
Start the demo</b></em></a>

</body>
</html>
************************************************
 
K

kaeli

Hi, can someone help me with this code below. This code is for a page
that opens another page with a flash file on it. What code do I have
to add here to have the page with the flash file (QuickStart.htm) open
maximized or aligned to the top of the screen (if that's possible)?
<a href="javascript:MM_openBrWindow('QuickStart.htm','Interactive_Demo','status=yes,menubar=no,scrollbars=no,resizable=no,width=900,height=680')"><em><b>
Start the demo</b></em></a>


<a href="javascript:MM_openBrWindow
('QuickStart.htm','Interactive_Demo','status=yes,menubar=no,scrollbars=n
o,resizable=no,width=900,height=680',top=0)">

tested in IE6 fine. didn't check other browsers.


-------------------------------------------------
~kaeli~
Hey, if you got it flaunt it! If you don't, stare
at someone who does. Just don't lick the TV screen,
it leaves streaks.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace
-------------------------------------------------
 
P

Peter

Thanks for that kaeli:)


kaeli said:
<a href="javascript:MM_openBrWindow
('QuickStart.htm','Interactive_Demo','status=yes,menubar=no,scrollbars=n
o,resizable=no,width=900,height=680',top=0)">

tested in IE6 fine. didn't check other browsers.


-------------------------------------------------
~kaeli~
Hey, if you got it flaunt it! If you don't, stare
at someone who does. Just don't lick the TV screen,
it leaves streaks.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace
-------------------------------------------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,990
Messages
2,570,211
Members
46,796
Latest member
SteveBreed

Latest Threads

Top