[thelist] IE javascript window resize problem

Michael Mell mike at nthwave.net
Tue Jul 16 12:51:00 CDT 2002


I want a javascript function to resize the front window and load new
content.
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>

<a href="javascript:newContent()">click here</a>
++++++++++++++++++++++

How can I do this in IE?

Many thanks.


--

mike[at]nthwave.net





More information about the thelist mailing list