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

help with building sub menus


Poster: panflute
Dated: Monday December 26 2005 - 7:24:51 GMT

I am slow on learning new systems, but I plug away at it....
I am building a new menu for my site....
I have figured out a number of things, but.
I am stuck at something........

here is the link to my menu so far:
http://ren-fest.com/index1_j.html

only the home button and the next 2 menus are programmed...
I want to program sub menus under
important notices -----> auditions & returning cast info...

at the top of the auditions2006.html page there are 4 links to adobe files that open in their own separate windows....

I know this isia simple thing, but if someone could help me over this hump it would save me hours of head scratching......

I would like the 4 sub-menu links under the auditions & returning cast info link, while still keeping the returning cast info link alive....not sure if that is doeable...

Once the links are in the menu, i will remove them from the page...
OR---
another possible option would be to make the returning cast info link just a header, with 5 sub-menu links under that (1 for the auditions page, and 4 more for the pdf files).

the four pdf files are:
2006returncast.pdf
2006auditionform.pdf
openscenarioroles.pdf
2006storyline.pdf
these 4 pages need to open in heir own separate windows (with no menus showing since they are pdf's)...


there will be no more menus under the sub menus, so if i can figure out this level i should be ok....

any help is appreciated////
thank you !
below is my menu file:

fixMozillaZIndex=true; //Fixes Z-Index problem with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=500;
_menuOpenDelay=150;
_subOffsetTop=2;
_subOffsetLeft=-2;




with(menuStyle=new mm_style()){
bordercolor="#666666";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize="75%";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#000000";
offcolor="#333333";
onbgcolor="#000000";
oncolor="#ffffff";
onsubimage="t2d.gif";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=5)";
padding=5;
pagebgcolor="#82B6D7";
pagecolor="black";
separatorcolor="#666666";
separatorsize=1;
subimage="add.gif";
subimagepadding=2;
}

with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
screenposition="center";
orientation="horizontal";
style=menuStyle;
top=10;
aI("offbgcolor=#E93030;oncolor=#E93030;status=Back To Home Page;text=Home;url=index1_j.html;");
aI("offbgcolor=#E99430;oncolor=#E99430;showmenu=Notices;text=Important Notices;");
aI("offbgcolor=#E9E230;oncolor=#E9E230;showmenu=Special Events;text=Special Events;");
aI("offbgcolor=#69D34D;oncolor=#69D34D;showmenu=Festival Pages;text=Festival Pages;");
aI("offbgcolor=#30C0E9;oncolor=#30C0E9;showmenu=Special Pages;text=Special Pages;");
aI("offbgcolor=#974CCB;oncolor=#974CCB;showmenu=Promotions;text=Promotions & Links;");
aI("offbgcolor=#974CCB;oncolor=#974CCB;showmenu=Applications;text=Applications & Forms;");

}

with(milonic=new menuname("Notices")){
overflow="scroll";
style=menuStyle;
aI("offcolor=#E99430;text=Audition & Returning Cast Info;url= auditions2006_j.html;");
aI("offcolor=#E99430;text=New School Day Dates;url=school_j.html;");
aI("offcolor=#E99430;text=2006 Storyline (.pdf);url=2006storyline.pdf;target=windowname;targetfeatures=status,scrollbars,resizable");
}


with(milonic=new menuname("Special Events")){
style=menuStyle;
top="offset=2";
aI("offcolor=#E99430;text=Affiliated Events;url=affiliated.html;target=_blank;");
aI("offcolor=#E99430;text=Themed Weekends;url=themed.html;target=_blank;");
aI("offcolor=#E99430;text=Knight’s Quest;url=knightsquest.html;target=_blank;");
aI("offcolor=#E99430;text=Taste The Repast;url=repast.html;target=_blank;");

}

with(milonic=new menuname("Festival Pages")){
style=menuStyle;
aI("offcolor=#69D34D;status=(aq) Web Server Hosting & Services;text=(aq) Web Hosting;url=http://www.a-q.co.uk/;");
aI("offcolor=#69D34D;text=SMS 2 Email;url=http://www.sms2email.com/;");
aI("offcolor=#69D34D;text=WebSmith;url=http://www.softidiom.com/?milonicmenu;");
}

with(milonic=new menuname("Special Pages")){
style=menuStyle;
aI("offcolor=#30C0E9;status=Apache Web Server, the basis of Milonic's Web Site;text=Apache Web Server;url=http://www.apache.org/;");
aI("offcolor=#30C0E9;status=MySQL, Milonic's Prefered Choice of Database Server;text=MySQL Database Server;url=http://ww.mysql.com/;");
aI("offcolor=#30C0E9;status=PHP - Web Server Scripting as used by Milonic;text=PHP - Development;url=http://www.php.net/;");
aI("offcolor=#30C0E9;status=PHP Based Web Forum, Milonic's Recommended Forum Software;text=phpBB Web Forum System;url=http://www.phpbb.net/;");
aI("offcolor=#30C0E9;showmenu=Anti Spam;status=Anti Spam Solutions, as used by Milonic;subimage=white_arrow.gif;text=Anti Spam Tools;");
}

with(milonic=new menuname("Promotions")){
style=menuStyle;
aI("offcolor=#974CCB;text=Login;url=http://www.milonic.com/login.php;");
aI("offcolor=#974CCB;text=Licenses;url=http://www.milonic.com/mylicenses.php;");
aI("offcolor=#974CCB;text=Invoices;url=http://www.milonic.com/myinvoices.php;");
aI("offcolor=#974CCB;text=Make Support Request;url=http://www.milonic.com/reqsupport.php;");
aI("offcolor=#974CCB;text=View Support Requests;url=http://www.milonic.com/mysupport.php;");
aI("offcolor=#974CCB;text=Your Details;url=http://www.milonic.com/mydetails.php;");
}

drawMenus();


Poster: Ruth
Dated: Monday December 26 2005 - 15:31:32 GMT

Hi,

You might take a look at the Beginner User Manualwhich has explanations about adding and deleting menus and also there is the Quick Reference Guides for different properties.

Every menu you have can be a main menu by putting in alwaysvisible and setting a position top=; left=; What makes a menu a submenu is the fact that in some item you have a showmenu=; opening it.

You can have both url= and showmenu equals in an item so your Auditions and Returning Cast info item which is
Code:
aI("offcolor=#E99430;text=Audition & Returning Cast Info;url= auditions2006_j.html;");
can have a showmenu, also which would open its own submenu and have your pdf file links.

Code:
aI("offcolor=#E99430;text=Audition & Returning Cast Info;showmenu=YourSubMenuName;url= auditions2006_j.html;");


You would then create the submenu for it just like you created all the other submenus.

The links to open in a new window use the target= property. Since you want a new window it would be target=new; If you don't want a menu on the page you are opening, don't put the call for the menu on the page. However, if I open a page in a new window, I always have a text link back to some page on my site, just in case for some reason it doesn't open in a new window.

Below my name are links to different properties available. When you check them, most of them have examples of how to code them.

Hope this helps.

Ruth