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: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:15

problem with windows IE


Poster: j.chrysos
Dated: Wednesday August 18 2004 - 2:31:56 BST

Here is the URL:

http://www.genetherapy-mssm.net

I am having a problem with the menu on windows IE. I know this sounds ridiculous, but I don't know if I am using version 5 or not. A few months ago I tried to convert it, but ran into issues with frames. Now I can't remember if I solved the frames issues or just went back to the version 3.5 I was using before. Please help--as you can see I am not a regular javscript user, but I need to fix this problem!

Thanks,

Jen


Poster: John
Dated: Wednesday August 18 2004 - 14:49:11 BST

You're running v3.5.12 - way down the ladder. :) The v3 menu system is no longer developed or supported. Please upgrade to the current v5.41 and we'll have another go at it.


Poster: j.chrysos
Dated: Wednesday August 18 2004 - 18:57:52 BST

OK. I only seem to have a "menu_array.js" file and a "mmenu.js" file. Which one should I run the updater on? I can't see a "_data" file.


Poster: John
Dated: Thursday August 19 2004 - 4:16:00 BST

menu_array.js


Poster: j.chrysos
Dated: Thursday August 19 2004 - 16:40:10 BST

Hi John,

I successfully updated the page, but now I have the same problem as before, that the frames pages don't show the menu:

http://www.genetherapy-mssm.net/research/research.html

Do you know of a fix for this?

Jen


Poster: John
Dated: Thursday August 19 2004 - 17:36:00 BST

Hi Jen -

As you probably know, frames are not supported in v5. However, there are a lot of discussions here about it, including an unsupported fix that apparently works well. Use Search to find it.


Poster: j.chrysos
Dated: Thursday August 19 2004 - 19:33:49 BST

Hi John,

I have been looking and can't find it. Can you help me find the unsupported frames fix you mentioned? My menu doesn't need to cross frames.

Additionally, I am wondering if you know why the mulitple color component of my v5 menu is not working. Here is the code, which looks the same as the sample multicolor menu to me. When I change the offbgcolor nothing happens.

Thank you for your help.


_menuCloseDelay=500;
_menuOpenDelay=150;
_scrollAmount=3;
_scrollDelay=20;
_followSpeed=5;
_followRate=50;
_subOffsetTop=2;
_subOffsetLeft=20;


with(RoyalBlue=new mm_style()){
offcolor="#ffffff";
offbgcolor="#3300cc";
oncolor="#330099";
onbgcolor="#ccff00";
fontsize="11";
fontstyle="normal";
fontweight="normal";
fontfamily="verdana,arial";
padding=2;
}

with(LimeGreen=new mm_style()){
offcolor="#3366cc";
offbgcolor="#e8ffba";
oncolor="#3300cc";
onbgcolor="#e8ffba";
fontsize="11";
fontstyle="normal";
fontweight="normal";
fontfamily="verdana,arial";
padding=3;
}


with(milonic=new menuname("MultiColorMenu")){
top=106;
left=155;
itemwidth=100;
style=RoyalBlue;
alwaysvisible=1;
alignment="center";
orientation="horizontal";
aI("text=Home;url=http://www.genetherapy-mssm.net/home.php;target=_parent offbgcolor=3366cc;offcolor=ffffff;separatorsize=0")
aI("text=Introduction;url=http://www.genetherapy-mssm.net/intro/intro.html;target=_parent offbgcolor=3300cc;offcolor=ffffff;separatorsize=0")
aI("text=Research;url=http://www.genetherapy-mssm.net/research/research.html;target=_parent offbgcolor=3366cc;offcolor=ffffff;separatorsize=0")
aI("text=Primary Faculty;showmenu=Faculty1;;oncolor=330099;onbgcolor=ccff00;offcolor=ffffff;offbgcolor=3399cc;;separatorsize=0")
aI("text=Announcements;url=http://www.genetherapy-mssm.net/announce/announcements.html;target=_parent offbgcolor=3366cc;offcolor=ffffff;separatorsize=0")
aI("text=Resources;showmenu=Resources;;oncolor=330099;onbgcolor=ccff00;offcolor=ffffff;offbgcolor=3300cc;separatorsize=0")
}


Poster: j.chrysos
Dated: Friday August 20 2004 - 2:55:41 BST

OK, now I have removed the frames from my page and am using an iframe instead. Much cleaner. However, the menu is still not showing up. Iframes are supported for version 5, correct?

http://www.genetherapy-mssm.net/research/research.php

Can anyone tell me what might be causing this issue?

Thanks,

Jen


Poster: John
Dated: Friday August 20 2004 - 3:53:33 BST

Your menu calls are wrong. You have...
Code:
<script type="text/javascript" src="milonic_src.js"></script>
<script type="text/javascript">
<!--
if(ns4)_d.write("<script language=JavaScript src=mmenuns4.js><\/script>");      
else _d.write("<script language=JavaScript src=mmenudom.js><\/script>");
-->
</script>
<script type="text/javascript" src="menu_data.js"></script>

...which means the system is looking for the menu files in /research/. They're not there. :?

You need this (assuming you leave the menu files where I found them)...
Code:
<script language="Javascript" type="text/javascript" src="/milonic_src.js"></script>
<script language="Javascript" type="text/javascript">
<!--
if(ns4)_d.write("<script language=Javascript src=/mmenuns4.js><\/script>");      
else _d.write("<script language=Javascript src=/mmenudom.js><\/script>");
-->
</script>
<script language="Javascript" type="text/javascript" src="/menu_data.js"></script>

Note the / in front of the code file names, and the missing language="Javascript" items added back in.


Poster: j.chrysos
Dated: Friday August 20 2004 - 12:55:02 BST

thanks! I will try this.


Poster: j.chrysos
Dated: Friday August 20 2004 - 18:54:01 BST

I understand my mistake in the menu calls, and I have replaced my code with the code you posted. This fixed the problem in Netscape, but not in IE. The menu still will not display in IE.

http://www.genetherapy-mssm.net/research/research.php

I have tried to find an error, but I can't see it. Please help...

-Jen


Poster: John
Dated: Friday August 20 2004 - 21:37:02 BST

Just looked at it in Mac/Safari and XP Pro/IE6 with no problems. It's there!


Poster: j.chrysos
Dated: Friday August 20 2004 - 21:57:09 BST

Yes, I saw it in Safari, but in IE for mac, it isn't displaying.


Poster: j.chrysos
Dated: Saturday August 21 2004 - 3:27:59 BST

Just to let anyone know who is having this problem, I got the page to load in IE on the mac with this code:

<script language="Javascript" type="text/javascript" src="/milonic_src.js"></script>

<script language="JavaScript" type="text/javascript" src="/mmenudom.js"></script>

<script language="Javascript" type="text/javascript" src="/menu_data.js"></script>

(taking out the "if" "else" statements. This probably means the menu won't work in Navigator 4, but at this point that is OK with me)


Poster: John
Dated: Saturday August 21 2004 - 18:25:44 BST

Somewhere I missed where you said IE/Mac.

Most of us are not wasting time on that 'browser' any more. Like our v3, it is no longer developed or supported, and the new browsers are so much better.

BTW, I agree with you on NS4 - another one for the trash heap.