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: Saturday July 14 2012 - 06:07:28

Menu display issues with IE 5.5 (PC) and IE 5.2.2 (Mac)


Poster: scargin
Dated: Wednesday June 18 2003 - 2:33:35 BST

I have been testing the menu for use with a site that I will be updating and have come across the following issues:

In IE 5.5 a border exists around the edge of the menu which is not visible on IE 6.1.

On IE 5.2.2 on Mac it is pushing the menu items down to a second line.
The site can be viewed at http://www.wetlandcare.com.au/newlayout6.asp

I have dropped the following script below the menu script (after searching this forum):

<SCRIPT language=JavaScript
src="Scripts/menu_array.js"
type=text/javascript></SCRIPT>
<SCRIPT language=JavaScript
src="Scripts/mmenu.js"
type=text/javascript></SCRIPT>
<SCRIPT language=JavaScript>
if(mac){
mn=getMenuByName("menu_array")
gm=gmobj("menu"+mn)
gm.style.width=100
}</SCRIPT>

Should "mn=getMenuByName("menu_array") " refer to the array file?

A little off topic, I have also noticed that the IE 5.2.2 ignores the div align tag i.e. <div align="right"><img src="images/misc/Title_News.gif" width="148" height="34"></div>
Is this common or am doing something wrong.?

Any assistance would be appreciated.

Stuart Cargin[/url]


Poster: kevin3442
Dated: Wednesday June 18 2003 - 8:42:52 BST

Hi Stuart,

To answer part of your question, "menu_array" in this case refers to the menu array's name... this would be the name that you give to a menu in the first element of its array. For example, suppose your main menu is called "mainmenu". The function call would be
Code:
mn=getMenuByName("mainmenu")

Hope that helps some,

Kevin


Poster: scargin
Dated: Thursday June 19 2003 - 1:10:28 BST

Thanks Kevin.

I did manage to get the menu working in I.E 5.2.2 for Mac by replacing spaces with "nbsp;". Did notice that if "/" was used between words such as "News/Events" it would also push the second word down a line. By placing a gap beyween the "/" and adding "nbsp;" either side corrected it.

I am still experiencing problems with I.E. 5.5 (PC) adding a border around the menu when the setting is set to "0" and the border colour set to",".

Any ideas???

I could be wrong but the menu appeared to display similar issues in Opera 7.1 (PC) as I.E 5.2.2 for Mac. May be a good testing platform for developers without access to a Mac.

Stuart Cargin