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:16
Submenus not appearing
Poster: ndesilva
Dated: Friday August 6 2004 - 21:39:45 BST
I have a site that was built for me, to which I need to add add'l submenus. Despite all my best efforts, reading your forum, following some examples set... I am still STUMPED.
The site is beta only right now and can be found at http://www.teletrol.com/web/home.shtml The submenu in question here is one that would branch off of the main Products navigation (there are two subnav items here: one for eBuilding and one for Integrator). Both of those product lines require add'l nav for the products they offer. That's what I cannot get to appear. (note: i'm taking a stab at where this subnav would appear at this time)
The sample code for that menu looks as follows:
[code]
_menuCloseDelay=0 // The time delay for menus to remain visible on mouse out
_menuOpenDelay=0 // The time delay before menus open on mouse over
//_followSpeed=5 // Follow scrolling speed
//_followRate=40 // Follow scrolling Rate
//_subOffsetTop=10 // Sub menu top offset
//_subOffsetLeft=-10 // Sub menu left offset
//_scrollAmount=3 // Only needed for Netscape 4.x
//_scrollDelay=20 // Only needed for Netcsape 4.x
with(navStyle=new mm_style()){
fontweight="bold";
fontfamily="Arial, Tahoma, sans-serif";
oncolor="#ffffff";
onbgcolor="#868373";
offcolor="#ffffff";
offbgcolor="#503E70";
}
with(milonic=new menuname("nav")){
style=navStyle;
top=84; left=5; itemheight=25;
orientation="horizontal";
alwaysvisible=1;
aI("text=<span class='navItem'>PRODUCTS</span>;url=#;showmenu=products;");
aI("text=<span class='navItem'>CASE STUDIES</span>;url=http://www.teletrol.com/web/case_studies/index.shtml;showmenu=case_studies;");
aI("text=<span class='navItem'>SERVICES & SUPPORT</span>;url=#;showmenu=services;");
aI("text=<span class='navItem'>COMPANY INFO</span>;url=#;showmenu=company;");
aI("text=<span class='navItem'>CONTACT US</span>;url=#;showmenu=contact;");
}
with(subNavStyle=new mm_style()){
fontweight="bold";
fontfamily="Arial, Tahoma, sans-serif";
oncolor="#fff";
onbgcolor="#868373";
offcolor="#665";
offbgcolor="transparent";
separatorcolor="#A5A18D";
separatorsize="1";
}
with(milonic=new menuname("products")){
style=subNavStyle;
top=109; left=5; itemheight=20; itemwidth=190;
aI("text=<span class='navItem'>eBuilding</span>;url=http://www.teletrol.com/web/products/ebuilding/index.shtml;bgimage=/web/images/bg_subnav.gif;showmenu=ebuilding;");
aI("text=<span class='navItem'>Integrator</span>;url=http://www.teletrol.com/web/products/integrator/index.shtml;bgimage=/web/images/bg_subnav_bottom.gif;showmenu=integrator;");
}
with(milonic=new menuname("ebuilding")){
style=subNavStyle;
top=120; left=25; itemheight=20; itemwidth=190;
aI("text=span class='navItem'>Network Controllers</span>;url=http://www.teletrol.com/web/products/ebuilding/network_controller.shtml;bgimage=/web/images/bg_subnav.gif;");
aI("text=span class='navItem'>Application Specific</span>;url=http://www.teletrol.com/web/products/ebuilding/application_controller.shtml;bgimage=/web/images/bg_subnav_bottom.gif;");
aI("text=span class='navItem'>Modular I/O</span>;url=http://www.teletrol.com/web/products/ebuilding/modular_io.shtml;bgimage=/web/images/bg_subvav.gif;");
aI("text=span class='navItem'>Software</span>;url=http://www.teletrol.com/web/products/ebuilding/software.shtml;bgimage=/web/images/bg_subvav.gif;");
aI("text=span class='navItem'>BACnet®</span>;url=http://www.teletrol.com/web/products/ebuilding/bacnet.shtml;bgimage=/web/images/bg_bottom.gif;");
}
with(milonic=new menuname("integrator")){
style=subNavStyle;
top=125; left=25; itemheight=20; itemwidth=190;
aI("text=span class='navItem'>Network Controllers</span>;url=http://www.teletrol.com/web/products/integrator/network_controller.shtml;bgimage=/web/images/bg_subnav.gif;");
aI("text=span class='navItem'>Application Specific</span>;url=http://www.teletrol.com/web/products/integrator/application_controller.shtml;bgimage=/web/images/bg_subnav.gif;");
aI("text=span class='navItem'>Modular I/O</span>;url=http://www.teletrol.com/web/products/integrator/modular_io.shtml;bgimage=/web/images/bg_subnav.gif;");
aI("text=span class='navItem'>Integration Devices</span>;url=http://www.teletrol.com/web/products/integrator/integration.shtml;bgimage=/web/images/bg_subnav.gif;");
aI("text=span class='navItem'>Software</span>;url=http://www.teletrol.com/web/products/integrator/software.shtml;bgimage=/web/images/bg_bottom.gif;");
}
with(milonic=new menuname("case_studies")){
style=subNavStyle;
top=109; left=88; itemheight=20;itemwidth=190;
aI("text=<span class='navItem'>Commercial</span>;url=http://www.teletrol.com/web/case_studies/commercial.shtml;bgimage=/web/images/bg_subnav.gif;");
aI("text=<span class='navItem'>Education</span>;url=http://www.teletrol.com/web/case_studies/educational.shtml;bgimage=/web/images/bg_subnav.gif;");
aI("text=<span class='navItem'>Financial</span>;url=http://www.teletrol.com/web/case_studies/financial.shtml;bgimage=/web/images/bg_subnav.gif;");
aI("text=<span class='navItem'>Government</span>;url=http://www.teletrol.com/web/case_studies/government.shtml;bgimage=/web/images/bg_subnav.gif;");
aI("text=<span class='navItem'>Healthcare</span>;url=http://www.teletrol.com/web/case_studies/healthcare.shtml;bgimage=/web/images/bg_subnav.gif;");
aI("text=<span class='navItem'>Hospitality</span>;url=http://www.teletrol.com/web/case_studies/hospitality.shtml;bgimage=/web/images/bg_subnav.gif;;");
aI("text=<span class='navItem'>Manufacturing</span>;url=http://www.teletrol.com/web/case_studies/manufacturing.shtml;bgimage=/web/images/bg_subnav.gif;;");
aI("text=<span class='navItem'>Specialized</span>;url=http://www.teletrol.com/web/case_studies/specialized.shtml;bgimage=/web/images/bg_subnav.gif;;");
aI("text=<span class='navItem'>Transportation</span>;url=http://www.teletrol.com/web/case_studies/transportation.shtml;bgimage=/web/images/bg_subnav_bottom.gif;;");
}
with(milonic=new menuname("services")){
style=subNavStyle;
top=109; left=190; itemheight=20;itemwidth=190;
aI("text=<span class='navItem'>Teletrol Training</span>;url=http://www.teletrol.com/web/services/training.shtml;bgimage=/web/images/bg_subnav.gif;;");
aI("text=<span class='navItem'>Technical Services</span>;url=http://www.teletrol.com/web/services/services.shtml;bgimage=/web/images/bg_subnav.gif;;");
aI("text=<span class='navItem'>Technical Support</span>;url=http://www.teletrol.com/web/services/support.shtml;bgimage=/web/images/bg_subnav_bottom.gif;");
}
with(milonic=new menuname("company")){
style=subNavStyle;
top=109; left=333; itemheight=20;itemwidth=190;
aI("text=<span class='navItem'>Philosophy</span>;url=http://www.teletrol.com/web/company_info/philosophy.shtml;bgimage=/web/images/bg_subnav.gif;;");
aI("text=<span class='navItem'>Leadership</span>;url=http://www.teletrol.com/web/company_info/leadership.shtml;bgimage=/web/images/bg_subnav.gif;;");
aI("text=<span class='navItem'>News & Events</span>;url=http://www.teletrol.com/web/company_info/news.shtml;bgimage=/web/images/bg_subnav.gif;;");
aI("text=<span class='navItem'>Partnerships</span>;url=http://www.teletrol.com/web/company_info/partnerships.shtml;bgimage=/web/images/bg_subnav.gif;;");
aI("text=<span class='navItem'>Careers</span>;url=http://www.teletrol.com/web/company_info/careers.shtml;bgimage=/web/images/bg_subnav_bottom.gif;");
}
with(milonic=new menuname("contact")){
style=subNavStyle;
top=109; left=443; itemheight=20;itemwidth=190;
aI("text=<span class='navItem'>Request Information</span>;url=http://www.teletrol.com/web/contact/request_info.shtml;bgimage=/web/images/bg_subnav.gif;;");
aI("text=<span class='navItem'>Locate A Dealer</span>;url=http://www.teletrol.com/web/contact/dealer.shtml;bgimage=/web/images/bg_subnav.gif;;");
aI("text=<span class='navItem'>Offices</span>;url=http://www.teletrol.com/web/contact/offices.shtml;bgimage=/web/images/bg_subnav_bottom.gif;");
}
drawMenus();[/code]
Poster: John
Dated: Saturday August 7 2004 - 1:40:26 BST
The menu system you have now is no longer supported or developed. The current version is 5.39, available at http://milonic.com. You will need to upgrade and license the menu, after which we'd be happy to give you any help you need.
Industrial Strength JavaScript and DHTML Menus
About Us
Testimonials
Contact Us
Our Distinguished Clients
Investing in Non-Profits
Where Are We
Privacy Policy
Software Licensing Agreement
DHTML JavaScript Menu
Product Information
Page Integration
Quick Reference Guides
Embedding Into a Table or DIV
Purchase
