[thelist] IE javascript window resize problem

Peter-Paul Koch gassinaumasis at hotmail.com
Wed Jul 17 00:58:01 CDT 2002


>I want a javascript function to resize the front window and load new
>content.

self.resizeTo(830,660);
self.location.href = 'page.html';

Here is a function which works as desired in Netscape but not in IE:
>
>++++++++++++++++++++++
><script type="text/javascript">
>function newContent() {
>      self.outerWidth = 830;
>      self.outerHeight = 660;
>      self.location.href= 'page2.html';
>}
></script>

Interesting! I didn't know you could set outerWidth/Height in NN.

ppk

_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com




More information about the thelist mailing list