menu stopped displaying

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
johnm1019
Beginner
Beginner
Posts: 3
Joined: Thu Apr 15, 2004 6:09 am

menu stopped displaying

Post by johnm1019 »

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: Select all

<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.
johnm1019
Beginner
Beginner
Posts: 3
Joined: Thu Apr 15, 2004 6:09 am

Post by johnm1019 »

k, found the error.

Code: Select all

with(milonic=new menuname("mainmenu2")){_c=1U 
that should've been this
with(milonic=new menuname("mainmenu2")){_c=1
johnm1019
Beginner
Beginner
Posts: 3
Joined: Thu Apr 15, 2004 6:09 am

Post by johnm1019 »

k, found the error.

Code: Select all

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

Code: Select all

with(milonic=new menuname("mainmenu2")){_c=1
Post Reply