Forum Moderators: not2easy
This is a documented (and often complained about) problem with Netscape. It's complicated here by the fact that you are using a frameset. Assuming that you are allowing the user to resize the individual frames, I would try modifying both the <frameset> tag in the principal document and the <body> tag in all the individual HTML docs:
<frameset onResize="history.go(0)">
or
<body onResize="history.go(0)">
I think this will work, no matter what the present configuration of child pages is in your frameset. Please, let us know if that solves your problem. Thanks!
P.S. If I have an onLoad event already in my <body>, would I put that before or after the onResize? Or does it really matter? Are there limits on the number of events in a <body> tag?
The above lines of code may be single line fix.
But it affects IE also.
(ie) while resizing a IE window it doesn't reloads the page but simply resizes the page without any problem.
If the page have many images or size of the page is large then the above solution is odd for IE. So javascriot NN resize fix is suitable in that case. Since it reloads the page if it is Netscape Only.
<!-- Beginfunction MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW ¦¦ innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);userAgent = window.navigator.userAgent;
browserVers = parseInt(userAgent.charAt(userAgent.indexOf("/")+1),10);
function findElement(n,ly) {
if (browserVers < 4)return document[n];
var curDoc = ly ? ly.document : document;
var elem = curDoc[n];
if (!elem) {
for (var i=0;i<curDoc.layers.length;i++) {
elem = findElement(n,curDoc.layers[i]);
if (elem) return elem;
}
}
return elem;
}// End -->