Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:21
ns4 and Opera problems
Poster: mcs
Dated: Wednesday June 30 2004 - 18:36:03 BST
I have just added a menu to a website. It seems to be working fine in Mozilla, but it doesn't work in my other browsers. The menu version is this:
Version 5.3 - Built: Monday June 28 2004 - 12:35
The site is here: http://si.carstensen-malerforretning.dk/
In Netscape 4.61 the menu doesn't appear at all. In Opera 5.12 the menu appears at the correct height, but at the left rather than centered. The menu items of the main menu work in Opera, but the drop-down menus don't appear.
Best regards,
Mikkel C. Simonsen
Poster: Ruth
Dated: Friday July 2 2004 - 4:05:39 BST
I can't experiment for the Opera 5 browser because I don't have it. Until the release of Opera 7.5, I believe it is, which stablized the browser a lot, the other versions were pretty erractic in how they rendered different things. The menu works fine in Opera 6. As to Netscape 4.61 I do not have that one but I do have netscape 4.79 The menu did not appear at all as with 4.61. After a lot of experimentation I did get it to appear. I do not know why this works but for some reason to get it to appear in Netscape 4.79 and that may also apply to 4.61, you need to put the calls for the menu files both in the head and in the body. Again, I don't know why, I do not know anything about frames nor do I know about menu programming. You would of course need your paths but taking your page code, it would be this
Code:
<SCRIPT language=JavaScript src="milonic_src.js"
type=text/javascript></SCRIPT>
<SCRIPT language=JavaScript>
if(ns4)_d.write("<scr"+"ipt language=JavaScript src=mmenuns4.js><\/scr"+"ipt>");
else _d.write("<scr"+"ipt language=JavaScript src=mmenudom.js><\/scr"+"ipt>");
</SCRIPT>
<SCRIPT language=JavaScript src="menu_data.js"
type=text/javascript></SCRIPT>
</HEAD>
<BODY text=#000000 vLink=#a5a5a5 aLink=#cccccc link=#777777 bgColor=#efefef>
<SCRIPT language=JavaScript src="milonic_src.js"
type=text/javascript></SCRIPT>
<SCRIPT language=JavaScript>
if(ns4)_d.write("<scr"+"ipt language=JavaScript src=mmenuns4.js><\/scr"+"ipt>");
else _d.write("<scr"+"ipt language=JavaScript src=mmenudom.js><\/scr"+"ipt>");
</SCRIPT>
<SCRIPT language=JavaScript src="menu_data.js"
type=text/javascript></SCRIPT>
<BASEFONT>
type=text/javascript></SCRIPT>
<SCRIPT language=JavaScript>
if(ns4)_d.write("<scr"+"ipt language=JavaScript src=mmenuns4.js><\/scr"+"ipt>");
else _d.write("<scr"+"ipt language=JavaScript src=mmenudom.js><\/scr"+"ipt>");
</SCRIPT>
<SCRIPT language=JavaScript src="menu_data.js"
type=text/javascript></SCRIPT>
</HEAD>
<BODY text=#000000 vLink=#a5a5a5 aLink=#cccccc link=#777777 bgColor=#efefef>
<SCRIPT language=JavaScript src="milonic_src.js"
type=text/javascript></SCRIPT>
<SCRIPT language=JavaScript>
if(ns4)_d.write("<scr"+"ipt language=JavaScript src=mmenuns4.js><\/scr"+"ipt>");
else _d.write("<scr"+"ipt language=JavaScript src=mmenudom.js><\/scr"+"ipt>");
</SCRIPT>
<SCRIPT language=JavaScript src="menu_data.js"
type=text/javascript></SCRIPT>
<BASEFONT>
Hope that helps for Netscape. Also for Netscape, you need to remove the overflow="scroll"; that will put << at the top of the drop down menus and cause problems. I do suggest you update the browsers. Netscape 4.79 is a June 99 release, 4.6 is someplace in '98. There have been so many security issues that have been addressed and fixed since then, there has also been tremendous developments in dhtml, javascript, css. Netscape 4x is a static browser, it uses a totally different system than the newer version, and there is much it will not render of what is out there now.
Ruth