I've got a whole load of stuff in DHTML menus which I want to write to the document, and I've made the code smaller by putting all the menus into arrays, then iterating through the arrays more or less like this in the HEAD:
menu1 = new Array(
This is rather simplified, there's a mass of stylesheet information in there too, but I don't think it matters in terms of my question.
This works fine in IE, and Netscape 6, but what happens in Netscape 4 is that the document.write() statements never seem to end.
The document just keeps loading and loading, and when I hit the Stop button, the menus appear, but not until.
Is there some known bug in IE4 with document.write()? is it possible that something in the actual code being written is preventing Netscape 4 from realising it's finished writing?