Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Archived Topics for the old Version 3.0 JavaScript Menu
Forum Topic: Click to view post
Last Updated: Wednesday July 18 2012 - 06:07:34

resize problem in netscape


Poster: iraklis
Dated: Saturday June 22 2002 - 2:34:04 BST

Hi,

first of all this is a realy great menu!

but: i have problems with using it in netscape 4.7
the old f..... resize problem of the netscape window.

I'm using the frame sample and while trying it at your page it will not reload if you size the Netscape window. I've downloaded the sample but than i get javascript errors: too much recursion!

On Pc-Systems it's ok. I get the errors but its still working on.
But on mac-Systems this error hangs the hole system!!! Only a restart help.

I tryed a reload script:
<SCRIPT LANGUAGE="JavaScript1.2"><!--
NS4 = document.layers;
if (NS4) {
origWidth = innerWidth;
origHeight = innerHeight;
}
function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight)
location.reload();
}
if(NS4) onresize = reDo;
// --></SCRIPT>
but it helped nothing!!
The Page will reload and show corectly with all menus on PC-Systems.

I think it a recursion whitin your code!

As said your online sample works fine (although it does not reload when resizing, but it brings no recursion) but the downloaded version, without any changes from my side produces the too much recursion error.

Can you help me where the problem is???
I have to know because it definitly has to run also under Mac-Systems.

Thank you...