Menu not displaying unless page is refreshed
Menu not displaying unless page is refreshed
Hi there,
I'm using the 5.0+ version of the menu but it does not always display properly on the page.
If someone links to the page from a link in an email for example the menu isn't displayed at all, unless the page is refreshed.
I'm using images in the menu.
Any help would be much appreciated.
Thanks,
Norma
I'm using the 5.0+ version of the menu but it does not always display properly on the page.
If someone links to the page from a link in an email for example the menu isn't displayed at all, unless the page is refreshed.
I'm using images in the menu.
Any help would be much appreciated.
Thanks,
Norma
Norma
Menu not displaying unless page is refreshed
It's on an Intranet, so I can't give a URL, but here's the code I use.
Content of main page
Content of menu_data.js
Content of main page
Code: Select all
<body bgcolor="#FFFFFF" leftmargin=0 topmargin=30 marginwidth="0" marginheight="0">
<!--
Milonic DHTML Website Navigation Menu Version 5.0+
Copyright 2004 (c) Milonic Solutions Limited (UK). All Rights Reserved.
Please visit http://milonic.com/ for more information.
Although this software may have been freely downloaded, you must obtain a license before using it in any production environment. The free use of this menu is only available for Non-Profit, Educational & Personal Web Sites who have obtained a license to use.
Free, Commercial and Corporate Licenses are available from our website.
You also need to include a link back to http://milonic.com/ if you use the free license.
All Copyright notices MUST remain in place at ALL times.
This includes the first three lines of this notice on every page that uses the menu.
If you cannot comply with all of the above requirements, please contact us to arrange a license waiver.
-->
<script type="text/javascript" src="js/milonic_src.js"></script>
<param copyright="JavaScript Menu by Milonic" value="http://milonic.com/"></param>
<script type="text/javascript">
if(ns4)_d.write("<scr"+"ipt language=JavaScript src=js/mmenuns4.js><\/scr"+"ipt>");
else _d.write("<scr"+"ipt language=JavaScript src=js/mmenudom.js><\/scr"+"ipt>");
</script>
<script type="text/javascript" src="js/menu_data.js"></script>
<TABLE cellSpacing=0 cellPadding=0 width=703 align=center border=0>
<TR>
<TD height=52><img src=home/images/mdclogo_top.gif width=291 height=34></TD>
<TD height=52 align=right valign=bottom><a href="http://websites.milonic.com/192.6.76.62/search/pop_seminaire.asp?idSeminaire=50212152" target="_blank"><img src=/images/banner_priorities.gif width=287 height=39 border="0"></a></TD>
</tr>
<tr>
<td style=padding-top:7px colspan=3>
<TABLE width=100% cellSpacing=0 cellPadding=0 border=0>
<TR>
<TD valign=top width=159 style=padding-top:25px>
<TABLE cellSpacing=0 cellPadding=0 border=0>
<TR><td>
<!--comment>Menu</comment-->
<script>
with(milonic=new menuname("Main Menu")){
style=menuStyle;
//top=200;
//left=200;
alwaysvisible=1;
orientation="vertical";
position="relative";
aI("showmenu=Guide;image=home/images/ico_learning.gif;overimage=home/images/ico_learning_on.gif;imagewidth=159;");
aI("showmenu=Search;image=home/images/ico_seminar.gif;overimage=home/images/ico_seminar_on.gif;imagewidth=159;");
aI("image=home/images/ico_calendar.gif;overimage=home/images/ico_calendar_on.gif;url=calendar.asp?WSM_Lang=EN;status=Calendar 2005;imagewidth=159;");
aI("showmenu=About;image=home/images/ico_about.gif;overimage=home/images/ico_about_on.gif;imagewidth=159;");
aI("image=home/images/ico_network.gif;overimage=home/images/ico_network_on.gif;url=/directory.asp?WSM_Lang=EN;status=LFD Network;imagewidth=159;");
aI("showmenu=Links;image=home/images/ico_links.gif;overimage=home/images/ico_links_on.gif;imagewidth=159;");
aI("showmenu=Sites;image=home/images/ico_sites.gif;overimage=home/images/ico_sites_on.gif;imagewidth=159;");
}
drawMenus();
</script>
</td>
</TR>
<TR>
<TD><IMG height=25 src=home/images/bottom_menu.jpg width=159></TD></tr></table>
</td>
<TD valign=top width=194 valign=top>
<TABLE width=100% border=0 cellSpacing=0 cellPadding=0>
<TR><TD><img src=home/images/topsousmenu.gif width=248 height=26></TD></tr>
<tr><td height=221 valign=top id=imgmilieu style="background-image:url(home/images/milieu.gif)"></td></tr>
<TR><TD><img src=home/images/bottomsousmenu.jpg width=248 height=23></TD></tr></table>
</td>
<TD valign=top width=296>
<!--comment>Partie de droite pour les 4 visuels</comment-->
<script language="JavaScript">
Texte = new Array(4);
Texte[0]="visuel1.jpg";
Texte[1]="visuel2.jpg";
Texte[2]="visuel3.jpg";
Texte[3]="visuel4.jpg";
index = Math.floor(Math.random() * Texte.length);
document.write("<img src=home/images/"+ Texte[index] +" width=296 height=257>");
</script>
<img src=home/images/logoloreal.gif width=296 height=50>
</td></tr></table>
</td></tr></table>
Code: Select all
_menuCloseDelay=500 // The time delay for menus to remain visible on mouse out
_menuOpenDelay=150 // The time delay before menus open on mouse over
_subOffsetTop=5 // Sub menu top offset
_subOffsetLeft=10 // Sub menu left offset
with(menuStyle=new mm_style()){
onbgcolor="#ffffff";
oncolor="#999999";
offbgcolor="#ffffff";
offcolor="#999999";
bordercolor="#ffffff";
borderstyle="solid";
borderwidth=0;
separatorcolor="#999999";
separatorstyle="dotted";
separatorsize="0";
padding=5;
fontsize="75%";
fontstyle="normal";
fontfamily="Verdana, Tahoma, Arial";
pagecolor="white";
pagebgcolor="#ffffff";
headercolor="#000000";
headerbgcolor="#ffffff";
//subimage="images/arrow.gif";
//subimagepadding="2";
overfilter="Fade(duration=0.2);Alpha(opacity=90);";
outfilter="randomdissolve(duration=0.3)";
itemwidth=159;
imagewidth=159;
width=159;
}
with(subStyle=new mm_style()){
onbgcolor="#ffffff";
oncolor="#B20023";
offbgcolor="#ffffff";
offcolor="#000000";
bordercolor="#ffffff";
borderstyle="solid";
borderwidth=0;
separatorcolor="#ffffff";
separatorsize="0";
padding=5;
fontsize="70%";
fontstyle="normal";
fontfamily="Verdana, Tahoma, Arial";
pagecolor="white";
pagebgcolor="#ffffff";
headercolor="#000000";
headerbgcolor="#ffffff";
overfilter="Fade(duration=0.2);Alpha(opacity=90);";
outfilter="randomdissolve(duration=0.3)";
}
with(milonic=new menuname("Guide")){
style=subStyle;
aI("text=Opportunities to Learn;image=home/images/arr_right1.gif;url=/learning.asp?lang=EN;");
aI("text=Making the Right Choice;image=home/images/arr_right1.gif;url=/choice.asp?WSM_Lang=EN;");
aI("text=Talent Development;image=home/images/arr_right1.gif;url=/taldev.asp?WSM_Lang=EN;");
aI("text=Your Role in Learning;image=home/images/arr_right1.gif;url=/roles.asp?WSM_Lang=EN;");
aI("text=FAQ;image=home/images/arr_right1.gif;url=/faq.asp?WSM_Lang=EN;");
aI("text=LFD Jargon;image=home/images/arr_right1.gif;url=/jargon.asp?WSM_Lang=EN;");
}
with(milonic=new menuname("Search")){
style=subStyle;
aI("text=Training Track;image=home/images/arr_right1.gif;url=/track.asp?WSM_Lang=EN;");
aI("text=Seminar Wizard;image=home/images/arr_right1.gif;url=/search.asp?WSM_Lang=EN;");
}
with(milonic=new menuname("About")){
style=subStyle;
aI("text=Interview with Richard Humphrey;image=home/images/arr_right1.gif;url=/richard.asp?WSM_Lang=EN;");
aI("text=Meet the MDC Team;image=home/images/arr_right1.gif;url=/team.asp?WSM_Lang=EN;");
aI("text=Getting to the MDC;image=home/images/arr_right1.gif;url=/logistics.asp?WSM_Lang=EN;");
}
with(milonic=new menuname("Links")){
style=subStyle;
aI("text=Talent Development;image=home/images/arr_right1.gif;url=http://192.6.76.81/;status=Talent Development;");
aI("text=Group Glossary;image=home/images/arr_right1.gif;url=/glossary.asp;status=Group Glossary;");
}
with(milonic=new menuname("Sites")){
style=subStyle;
aI("text=LFD Portal;image=home/images/arr_right1.gif;url=http://192.6.76.62/;");
aI("text=Luxury Products Division;image=home/images/arr_right1.gif;url=http://128.100.6.51/eduperm_dpl/home.asp;");
aI("text=Professional Products Division;image=home/images/arr_right1.gif;url=http://128.60.20.6/EP/;");
aI("text=Active Cosmetics;image=home/images/arr_right1.gif;url=http://128.52.1.30/formationdrh/index.html;");
aI("text=DGAF;image=home/images/arr_right1.gif;url=http://192.6.20.20/us/accueil/Fhome.htm;");
aI("text=Industry;image=home/images/arr_right1.gif;url=http://192.6.69.14/FORMATION092003/accueil_formations_ang.html;");
aI("text=L'Oréal Research;image=home/images/arr_right1.gif;url=http://128.13.32.3/pratique/res_hum/p1.htm;");
}
drawMenus();
Norma
- fredlongworthhighschool
- Mega Advanced
- Posts: 362
- Joined: Fri Jun 27, 2003 11:34 am
- Location: Manchester, England.
- Contact:
We have exactly the same problem
Hi,
on some computer with IE-Browser the menu does not appear at all. We don't know why some machines display it absolutly correct while others always have the problem. F5 "solves" it. But this is of course no solution...
Here is the link:
http://www.pyramid.de
http://www.pyramid.de/e
Thanks for help,
Reinhold
on some computer with IE-Browser the menu does not appear at all. We don't know why some machines display it absolutly correct while others always have the problem. F5 "solves" it. But this is of course no solution...
Here is the link:
http://www.pyramid.de
http://www.pyramid.de/e
Thanks for help,
Reinhold
It is not a computer problem
No, we can't blame the computers ). We have too much computers where the menu does not work. What kind of "computer problem" could that be? Everythink on these computers work perfect (as perfect, as a Wintel-System can be ) only the menu doesn't. First we thought the problem is that these computers are too slow, but there are also fast computers with the problem. Also the security-settings are "normal" and javascript is (of course) activated. And we know that we don't have these problems only in the firm, we know at least about three computers outside the firm where the problems are exactly the same. One of these computer-owners is a web programmer and we know that he tried many options to get the menu work. But as i said before, only F5 "helps" (not CTR-F5 !!!). On most (maybe on every) system runs Win2000 and IE 6.
We had the problem with Menu-Version 5.2? and now also with 5.62
Thanks, Reinhold
We had the problem with Menu-Version 5.2? and now also with 5.62
Thanks, Reinhold
Hi,
Can you try the pre-release and see if that helps - http://milonic.com/menuvinfo.php.
If not, try moving the menu script references into the body. If that works we need to look at the code and see what is causing this.
Cheers
Andy
Can you try the pre-release and see if that helps - http://milonic.com/menuvinfo.php.
If not, try moving the menu script references into the body. If that works we need to look at the code and see what is causing this.
Cheers
Andy