[Javascript] auto resizing a window
Kelly, Kyle
Kyle at admin.usf.edu
Mon Nov 5 18:07:27 CST 2001
Peter,
thanks for responding. i tried that code, but i must be doing something
wrong. The page doesn't resize itself, yet...
here is the entire page that i am attempting to get to work: (at this url:
http://theallthing.taa.usf.edu/ )
i'm getting the error triangle at the bottom left of my IE 6 window that
says error on page, object expected.
<html><head><link rel="STYLESHEET" type="text/css" href="/tampa.css">
<script language="JavaScript">
<!--
if (top.frames.length!=0)
{
self.resizeTo(675,600);
}
//-->
</script>
</head>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<table width="500" border="0" align="center">
<tr>
<td>
<p align="center"><font size="4">Welcome to TheAllThing</font></p>
<p align="center"><font size="4">TheAllThing is best viewed at
1024X768
<br>
Resolution on an Internet Explorer</font></p>
<p align="center"><font size="4"><<a href="#"
onMouseOver="MM_openBrWindow('default1.htm','','scrollbars=yes,width=675,hei
ght=600')">Enter</a>></font></p>
</td>
</tr>
</table>
<p> </p>
</html>
THANKS,
KYLE
More information about the Javascript
mailing list