Submenus not appearing

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
ndesilva
Beginner
Beginner
Posts: 1
Joined: Fri Aug 06, 2004 4:57 pm

Submenus not appearing

Post by ndesilva »

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_studie ... se_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/eb ... =ebuilding;");
aI("text=<span class='navItem'>Integrator</span>;url=http://www.teletrol.com/web/products/in ... 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/eb ... subnav.gif;");
aI("text=span class='navItem'>Application Specific</span>;url=http://www.teletrol.com/web/products/eb ... bottom.gif;");
aI("text=span class='navItem'>Modular I/O</span>;url=http://www.teletrol.com/web/products/eb ... subvav.gif;");
aI("text=span class='navItem'>Software</span>;url=http://www.teletrol.com/web/products/eb ... subvav.gif;");
aI("text=span class='navItem'>BACnet&reg;</span>;url=http://www.teletrol.com/web/products/eb ... 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/in ... subnav.gif;");
aI("text=span class='navItem'>Application Specific</span>;url=http://www.teletrol.com/web/products/in ... subnav.gif;");
aI("text=span class='navItem'>Modular I/O</span>;url=http://www.teletrol.com/web/products/in ... subnav.gif;");
aI("text=span class='navItem'>Integration Devices</span>;url=http://www.teletrol.com/web/products/in ... subnav.gif;");
aI("text=span class='navItem'>Software</span>;url=http://www.teletrol.com/web/products/in ... 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_studie ... subnav.gif;");
aI("text=<span class='navItem'>Education</span>;url=http://www.teletrol.com/web/case_studie ... subnav.gif;");
aI("text=<span class='navItem'>Financial</span>;url=http://www.teletrol.com/web/case_studie ... subnav.gif;");
aI("text=<span class='navItem'>Government</span>;url=http://www.teletrol.com/web/case_studie ... subnav.gif;");
aI("text=<span class='navItem'>Healthcare</span>;url=http://www.teletrol.com/web/case_studie ... subnav.gif;");
aI("text=<span class='navItem'>Hospitality</span>;url=http://www.teletrol.com/web/case_studie ... subnav.gif;;");
aI("text=<span class='navItem'>Manufacturing</span>;url=http://www.teletrol.com/web/case_studie ... subnav.gif;;");
aI("text=<span class='navItem'>Specialized</span>;url=http://www.teletrol.com/web/case_studie ... subnav.gif;;");
aI("text=<span class='navItem'>Transportation</span>;url=http://www.teletrol.com/web/case_studie ... 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/tr ... subnav.gif;;");
aI("text=<span class='navItem'>Technical Services</span>;url=http://www.teletrol.com/web/services/se ... subnav.gif;;");
aI("text=<span class='navItem'>Technical Support</span>;url=http://www.teletrol.com/web/services/su ... 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_inf ... subnav.gif;;");
aI("text=<span class='navItem'>Leadership</span>;url=http://www.teletrol.com/web/company_inf ... subnav.gif;;");
aI("text=<span class='navItem'>News & Events</span>;url=http://www.teletrol.com/web/company_inf ... subnav.gif;;");
aI("text=<span class='navItem'>Partnerships</span>;url=http://www.teletrol.com/web/company_inf ... subnav.gif;;");
aI("text=<span class='navItem'>Careers</span>;url=http://www.teletrol.com/web/company_inf ... 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/req ... subnav.gif;;");
aI("text=<span class='navItem'>Locate A Dealer</span>;url=http://www.teletrol.com/web/contact/dea ... subnav.gif;;");
aI("text=<span class='navItem'>Offices</span>;url=http://www.teletrol.com/web/contact/off ... bottom.gif;");
}


drawMenus();[/code]
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

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.
John
Post Reply