<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>RE: [Javascript] auto resizing a window</TITLE>
<META content="MSHTML 6.00.2600.0" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=371055322-05112001><FONT face=Arial color=#0000ff
size=2>Phil,</FONT></SPAN></DIV>
<DIV><SPAN class=371055322-05112001><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=371055322-05112001><FONT face=Arial color=#0000ff size=2>Are
you on ALL of the listservs? It is my great fortune for you to be on them all,
;-). </FONT></SPAN></DIV>
<DIV><SPAN class=371055322-05112001><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=371055322-05112001><FONT face=Arial color=#0000ff size=2>I'm
even newer to javascript than to vbscript, asp, etc, so please forgive my
questions. </FONT></SPAN></DIV>
<DIV><SPAN class=371055322-05112001><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=371055322-05112001><FONT face=Arial color=#0000ff size=2>Will
this code work if the initial page has no frames? </FONT></SPAN></DIV>
<DIV><SPAN class=371055322-05112001><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=371055322-05112001><FONT face=Arial color=#0000ff size=2>Here
is the entire page that I'm trying to make work. I should have included it to
begin with. It's not like everyone doesn't constantly say
to!</FONT></SPAN></DIV>
<DIV><SPAN class=371055322-05112001><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=371055322-05112001><FONT face=Arial color=#0000ff
size=2><Begin Code></FONT></SPAN></DIV>
<DIV><SPAN class=371055322-05112001><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=371055322-05112001><FONT face=Arial color=#0000ff
size=2><html><link rel="STYLESHEET" type="text/css"
href="/mycss.css"><BR><script
language="JavaScript"><BR><!--<BR>function
MM_openBrWindow(theURL,winName,features) { //v2.0<BR>
window.open(theURL,winName,features);<BR>}<BR>//--><BR><!-- START
<BR>)<BR>if (top.frames.length!=0) <BR>top.location=self.document.location;
<BR>self.moveTo(0,0) <BR>self.resizeTo(675,600) <BR>)<BR>// END -->
<BR></script> </FONT></SPAN></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><SPAN class=371055322-05112001><FONT face=Arial color=#0000ff
size=2><p>&nbsp;</p><BR><p>&nbsp;</p><BR><p>&nbsp;</p><BR><p>&nbsp;</p><BR><table
width="500" border="0" align="center"><BR>
<tr><BR> <td> <BR>
<p align="center"><font size="4">Welcome to
TheAllThing</font></p><BR> <p
align="center"><font size="4">TheAllThing is best viewed at 1024X768
<BR>
<br><BR> Resolution on an
Internet Explorer</font></p><BR> <p
align="center"><font size="4">&lt;<a href="#"
onMouseOver="MM_openBrWindow('default1.htm','','scrollbars=yes,width=675,height=600')">Enter</a>&gt;</font></p><BR></td><BR>
</tr><BR></table><BR><p>&nbsp;</p><BR></html></FONT></SPAN></DIV>
<DIV><SPAN class=371055322-05112001><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=371055322-05112001><FONT face=Arial color=#0000ff
size=2></End Code></FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Phil Winstanley
[mailto:phil.winstanley@creations.co.uk]<BR><B>Sent:</B> Monday, November 05,
2001 5:20 PM<BR><B>To:</B> 'javascript@LaTech.edu'<BR><B>Subject:</B> RE:
[Javascript] auto resizing a window<BR><BR></FONT></DIV>
<P><FONT size=2>Modify this one a little.</FONT> </P>
<P><FONT size=2><SCRIPT language="JavaScript"></FONT> <BR><FONT
size=2><!-- START</FONT> <BR><FONT size=2>if (top.frames.length!=0)</FONT>
<BR><FONT size=2>top.location=self.document.location;</FONT> <BR><FONT
size=2>self.moveTo(0,0)</FONT> <BR><FONT
size=2>self.resizeTo(screen.availWidth,screen.availHeight)</FONT> <BR><FONT
size=2>// END --></FONT> <BR><FONT size=2></script></FONT> </P>
<P><FONT size=2>Plip.</FONT> <BR><FONT
size=2>_____________________________</FONT> <BR><FONT size=2>Company
Idiot</FONT> <BR><FONT size=2>Creations Group Limited</FONT> <BR><FONT
size=2>_____________________________</FONT> <BR><FONT size=2> </FONT>
</P><BR>
<P><FONT size=2>-----Original Message-----</FONT> <BR><FONT size=2>From:
Kelly, Kyle [<A
href="mailto:Kyle@admin.usf.edu">mailto:Kyle@admin.usf.edu</A>]
</FONT><BR><FONT size=2>Sent: 05 November 2001 22:17</FONT> <BR><FONT
size=2>To: 'javascript@LaTech.edu'</FONT> <BR><FONT size=2>Subject:
[Javascript] auto resizing a window</FONT> </P><BR>
<P><FONT size=2>Greetings,</FONT> </P>
<P><FONT size=2>Is there a way to automatically resize a window to certain
parameters, say 675x600? In other words, when a user hits my page, I want the
page to automatically resize itself to 675x600. What I'm doing now is to have
the user click on an <ENTER> link that opens another page that is
675x600. This however is a pain in the behind. </FONT></P>
<P><FONT size=2>Can this be done with out having the user hit the
<ENTER> link, and opening another window? I'd like only one window to
open, as constant additional windows annoy me, and undoubtedly others as well.
</FONT></P>
<P><FONT size=2>Thanks in advance for any suggestions. </FONT></P>
<P><FONT size=2>Thank You,</FONT> </P>
<P><FONT size=2>Kyle</FONT> <BR><FONT
size=2>_______________________________________________</FONT> <BR><FONT
size=2>Javascript mailing list</FONT> <BR><FONT size=2>Javascript@LaTech.edu
<A href="http://www.LaTech.edu/mailman/listinfo/javascript"
target=_blank>http://www.LaTech.edu/mailman/listinfo/javascript</A></FONT>
</P></BLOCKQUOTE></BODY></HTML>