[Javascript] auto resizing a window

Phil Winstanley phil.winstanley at creations.co.uk
Mon Nov 5 16:19:39 CST 2001


Modify this one a little.

<SCRIPT language="JavaScript">
<!-- START
if (top.frames.length!=0)
top.location=self.document.location;
self.moveTo(0,0)
self.resizeTo(screen.availWidth,screen.availHeight)
// END -->
</script>

Plip.
_____________________________
Company Idiot
Creations Group Limited
_____________________________
 


-----Original Message-----
From: Kelly, Kyle [mailto:Kyle at admin.usf.edu] 
Sent: 05 November 2001 22:17
To: 'javascript at LaTech.edu'
Subject: [Javascript] auto resizing a window


Greetings,

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. 

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. 

Thanks in advance for any suggestions. 

Thank You,

Kyle
_______________________________________________
Javascript mailing list
Javascript at LaTech.edu http://www.LaTech.edu/mailman/listinfo/javascript
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20011105/41025b14/attachment.htm>


More information about the Javascript mailing list