PDA

View Full Version : Specify size of frameset


parallon
10-28-2005, 06:57 PM
Hello all. I am trying to specify the size of a frameset using the following code. It will work fine with just a normal page, but the minute I put it into a frameset, nothing happens. Any ideas?

<body>
<script language="JavaScript" type="text/javascript">


<!-- window.resizeTo(75% x 75%)-->

window.resizeTo(window.screen.availWidth*.75, window.screen.availHeight*.75);



</script>
</body>

Thanks,

Parallon

Mr J
10-28-2005, 10:35 PM
There's a little more to it I'm afraid

Take a look here for an example of controlling a frames size, it may help you.

www.huntingground.freeserve.co.uk/webplus/frames/collapse/collapse.htm