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:19

IE (but not firefox) has Javascript error and SLOW load


Poster: mkleinosky
Dated: Wednesday April 30 2008 - 21:37:58 BST

Have built menu which works perfectly in Firefox, in IE 7.0.6 we get javascript error:
-----------------
line 17
char: 4442
Code: 0
invalid property value
---------------------------

sure that this refers to mmenudom.js

we have
Milonic DHTML Menu - JavaScript Website Navigation System.
Version 5.0 Release Candidate 31.1 Built: Tuseday December 30 2003 - 10:06

So no idea what to do - don't expect to have success messing with milonic code ...
1. Can anyone help ?

2. 2nd issue, menu is all small grapics buttons and they do load -
but submenus load WAY more slowly than firefox, > 10 seconds firefox < 1 second (may be related to error 1, above)

our control file: milonic_data6.js
-----------------------------
_menuCloseDelay=500;
_menuOpenDelay=150;
_followSpeed=5 ; // Follow scrolling speed
_followRate=40 ; // Follow scrolling Rate
_subOffsetTop=10; // Sub menu top offset
_subOffsetLeft=0 ; // Sub menu left offset
_scrollAmount=1 ; // Only needed for Netscape 4.x
_scrollDelay=1 ; // Only needed for Netcsape 4.x

// forgetClickValue="true";

with(menuStyle=new mm_style()){
bordercolor="#6ca6cd";
bgimage="../images/menuback1.gif";
target="_top";
//fontfamily="Arial, Garamond, Tahoma";
//fontsize="100%";
fontstyle="normal";
headerbgcolor="#000000";
headercolor="#000000";
offbgcolor="#6ca6cd ";
offcolor="#ffffff";
onbgcolor="#ffffff";
oncolor="#6ca6cd ";
outfilter="randomdissolve(duration=0.3)";
//overfilter="Fade(duration=0.2);Alpha(opacity=2090);Shadow(color=#777777', Direction=135, Strength=5)";
padding=5;
pagebgcolor="#CCCCCC";
pagecolor="black";
separatorcolor="#6ca6cd";
separatorsize=0;

}
//subimage="/images/arrow.gif";
//subimagepadding=2;

with(milonic=new menuname("Main Menu")){
style=menuStyle;
//top=82;
//left=160;
position="relative";
alwaysvisible=1;
orientation="horizontal";
followscroll=0;


aI("image=http://mosttraveledpeople.com/images/buttons/JPEG/MTP_button_home_t.jpg;url=http://mosttraveledpeople.com/;status=Home Page;");
aI("image=http://mosttraveledpeople.com/images/buttons/JPEG/MTP_button_mtp_t.jpg;showmenu=MTP;");
aI("image=http://mosttraveledpeople.com/images/buttons/JPEG/MTP_button_mytravel_t.jpg;showmenu=MyTravel;");
aI("image=http://mosttraveledpeople.com/images/buttons/JPEG/MTP_button_Rankings_t.jpg;showmenu=Rankings;");
aI("image=http://mosttraveledpeople.com/images/buttons/JPEG/MTP_button_Whatsnew_t.jpg;showmenu=WhatsNew;");
aI("image=http://mosttraveledpeople.com/images/buttons/JPEG/MTP_button_Logout_t.jpg;url=http://mosttraveledpeople.com/_mtplogout1.cfm;status=Logout;");
}

with(milonic=new menuname("MTP")){
overflow="scroll";orientation="vertical";style=menuStyle;
target="_blank";offbgcolor="#ffffff";
aI("image=http://mosttraveledpeople.com/images/buttons/JPEG/MTP_button_History.jpg;url=http://mosttraveledpeople.com/_mtpaboutus.cfm;status=History;");
aI("image=http://mosttraveledpeople.com/images/buttons/JPEG/MTP_button_ContactUs.jpg;url=http://mosttraveledpeople.com/_mtpContactUs.cfm;status=Contact Us;");
aI("image=http://mosttraveledpeople.com/images/buttons/JPEG/MTP_button_Standards.jpg;url=http://mosttraveledpeople.com/_mtpStandards.cfm;status=Standards;");
aI("image=http://mosttraveledpeople.com/images/buttons/JPEG/MTP_button_ThemeSong.jpg;url=http://mosttraveledpeople.com/_mtpPlaySong1.cfm;status=Theme Song;");
aI("image=http://mosttraveledpeople.com/images/buttons/JPEG/MTP_button_Voting.jpg;url=http://mosttraveledpeople.com/_mtpCandidateVoting1.cfm;status=Voting;");
}

with(milonic=new menuname("Rankings")){
overflow="scroll";orientation="vertical";style=menuStyle;
target="_blank";
aI("image=http://mosttraveledpeople.com/images/buttons/JPEG/MTP_button_AllTravelersRanked.jpg;url=http://mosttraveledpeople.com/_MTPAllTravelers1.cfm;status=All Travelers Ranked;");
aI("image=http://mosttraveledpeople.com/images/buttons/JPEG/MTP_button_AllTravelersbyHomeBase.jpg;url=http://mosttraveledpeople.com/_MTPRptTravelersByHomeBase1CCC.cfm;status=Travelers by Home Base;");
aI("image=http://mosttraveledpeople.com/images/buttons/JPEG/MTP_button_LocationsRanked.jpg;url=http://mosttraveledpeople.com/_MTPRptLocationsByVisitors1.cfm;status=Locations Ranked;");
aI("image=http://mosttraveledpeople.com/images/buttons/JPEG/MTP_button_FindaTraveler.jpg;url=http://mosttraveledpeople.com/_mtpfindatraveler.cfm;status=Find a Traveler;");
}

with(milonic=new menuname("MyTravel")){
overflow="scroll";orientation="vertical";style=menuStyle;
target="_blank";
aI("image=http://mosttraveledpeople.com/images/buttons/JPEG/MTP_button_MyTravel.jpg;target=_blank;url=http://mosttraveledpeople.com/flashb10/mymap.cfm;status=My Travel;");
//aI("image=http://mosttraveledpeople.com/images/buttons/JPEG/MTP_button_MyOdyssey.jpg;url=http://mosttraveledpeople.com/newmenuodyssey.cfm;status=My Odyssey;");
// commented out 2008-04-29
aI("image=http://mosttraveledpeople.com/images/buttons/JPEG/MTP_button_MyProfile.jpg;url=http://mosttraveledpeople.com/_MTPMyUpdate1.cfm;status=My Profile;");
aI("image=http://mosttraveledpeople.com/images/buttons/JPEG/MTP_button_MyPosts.jpg;url=http://mosttraveledpeople.com/_MTPMyMemories1.cfm;status=My Posts;");
aI("image=http://mosttraveledpeople.com/images/buttons/JPEG/MTP_button_MyTargets.jpg;url=http://mosttraveledpeople.com/_MTPMasterListTripEdit1.cfm;status=My Targets;");
aI("image=http://mosttraveledpeople.com/images/buttons/JPEG/MTP_button_MyCertificate.jpg;url=http://mosttraveledpeople.com/_mtpprintmasterlist1.cfm;target=_blank;status=My Certificate;");
aI("image=http://mosttraveledpeople.com/images/buttons/JPEG/MTP_button_printablemasterlist.jpg;url=http://mosttraveledpeople.com/_mtpMyremaining1.cfm?remain=N;target=_blank;status=Printable Master List;");
}

with(milonic=new menuname("WhatsNew")){
overflow="scroll";orientation="vertical";style=menuStyle;
target="_blank";
aI("image=http://mosttraveledpeople.com/images/buttons/JPEG/MTP_button_MemberUpdates.jpg;url=http://mosttraveledpeople.com/_mtpwhatsnew1.cfm;statusMember Updates;");
aI("image=http://mosttraveledpeople.com/images/buttons/JPEG/MTP_button_MemberMilestones.jpg;url=http://mosttraveledpeople.com/_MTPRptmilestones1.cfm;status=Member Milestones;");
aI("image=http://mosttraveledpeople.com/images/buttons/JPEG/MTP_button_WheresCharles.jpg;url=http://mosttraveledpeople.com/_mtpwhereis.cfm;status=Where's Charles?;");
}

drawMenus();
---------------------------


our html:

--------------------

<table height="10" ><tr><td><a href="_mtplistusers1.cfm">Admin</a><span style="height: 10px">&nbsp;</span>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td><td>
<script language="JavaScript" type="text/javascript" src="/jscripts/milonic_src.js"></script>
<script language="JavaScript" type="text/javascript" src="/jscripts/mmenudom.js"></script>
<script language="JavaScript" type="text/javascript" src="/jscripts/milonic_data6.js"></script>
</td></tr></table>

--------------------

thanks,
matthew __at__ kleinosky.com

Error:'96' is null or not an object


Poster: mkleinosky
Dated: Wednesday April 30 2008 - 21:51:49 BST

using newer version - same issue:

error:
line: 17
char: 8961
Error:'96' is null or not an object
Code: 0

on

Milonic DHTML Menu - JavaScript Website Navigation System.
Version 5.792 - Built: Friday March 28 2008 - 16:38

has anyone seen this error?

Re: IE (but not firefox) has Javascript error and SLOW load


Poster: John
Dated: Thursday May 1 2008 - 13:56:38 BST

We'll need a URL to completely investigate this. At the very least, target="_blank"; is in the wrong place. It should be in the aI statements.

Also, when posting code, always use the [code][/code] tags.