PDA

View Full Version : Refreshing a frameset !!!!! Someone please please help... My head hurts


layleebear
04-05-2001, 09:01 PM
Hi ...

I am desperatly seeking help with some javascript.

I have designed a website that contains dhtml layers.

I put a onResize="location.reload()" into the script to reload the page for Netscape because it just screws up the position of the layers on me. This works when I view just this page on its own in Netscape.

However here is my problem. The page that contains the layers is in a frameset and for some reason the Reload does not work in a frameset.

I have tried to place the Reload in the code of the Frameset page (index.html) but it is still not working.

So. If anyone out there knows of anyway to refresh a frameset page when someone resizes the browser in Netscape i would be eternally gratefull.
If you can solve this for me you are a god.

Thankyou in advance ... >:-)
Aileen
oooO
.(....)
..\..(
...\_)

edeveloper
04-09-2001, 05:40 PM
this works.
<script language="javascript">
function reFresh(){
document.reload;
}
</script>