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

menu stopped displaying


Poster: johnm1019
Dated: Saturday July 9 2005 - 8:34:06 BST

EDITED:
I edited the code block to reflect what was coming out after the PHP was processed. I've tried a couple other config changes and it still isn't working :( Once again simply reading the config would be appreciated.

well, my menu was working great, i changed some code around and implemented sessions. to make a long story short (and keep it on topic with milonic) the menu wont render now. The only thing i changed was the Main_Menu block of code which i'll post below. I've scoured this for differences from my working configs and i'm stumped. :(
If someone could please point out what im missing i'd appreciate it.
Code:
<script type="text/javascript">
with(milonic=new menuname("mainmenu2")){_c=1U
itemwidth=162
//menuwidth="99%";
borderwidth = 1;
//screenposition = "center;middle";
alignment="top";
style = mainStyle;
alwaysvisible = 1;
//followscroll = "1,50,2"
//orientation="horizontal"
//filter = null;
//followscroll = null;
//keepalive = 1;
//overallwidth = null;
//righttoleft = null;
//itemheight=200;
//openonclick = null;
//bgimage="winxp_back.gif";
position="relative"
//separatorcolor="green";

overfilter="Fade(duration=.1);Shadow(color='#777777', Direction=135, Strength=5)"
aI("itemwidth=170;text=Home;url=classinfo.php");
aI("text=French 4;url=classinfo.php?target=getclassinfo&class=class1");
aI("text=Close Up Government;url=classinfo.php?target=getclassinfo&class=class2");
aI("text=AP Calculus;url=classinfo.php?target=getclassinfo&class=class3");
aI("text=Advanced Electronics;url=classinfo.php?target=getclassinfo&class=class4");
aI("text=AP Chemistry;url=classinfo.php?target=getclassinfo&class=class5");
aI("text=Honors English 11;url=classinfo.php?target=getclassinfo&class=class6");
aI("text=Other;showmenu=other");
aI("text=Logout;url=login.php?target=logout");
}
drawMenus();
</script>

Note: the only code thats changed since it stopped working was the milonic code inside these table tags.

thanks!
JM

PS - if theres a link to a 'milonic' config validator somewhere here that i missed please post it.


Poster: johnm1019
Dated: Saturday July 9 2005 - 18:46:14 BST

k, found the error.
Code:
with(milonic=new menuname("mainmenu2")){_c=1U

that should've been this
with(milonic=new menuname("mainmenu2")){_c=1
Code:


Poster: johnm1019
Dated: Saturday July 9 2005 - 18:46:31 BST

k, found the error.
Code:
with(milonic=new menuname("mainmenu2")){_c=1U

that should've been this
Code:
with(milonic=new menuname("mainmenu2")){_c=1