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

ASP/MSSQL-code is complete in view source, but nothing shows


Poster: rderoch
Dated: Friday October 21 2005 - 19:36:35 BST

I pared the code out of my full page and put into a test page to work out the issue. This is the code for the test page:
<html>
<head>
<!-- #include VIRTUAL="/includes/menubuild.asp" -->
</head>
<body>
<table width="100%" cellpadding="0" cellspacing="0" id="remove" height="25">
<tr>
<td style="background:#005793;color:#FFFFFF" valign="top" height="21" nowrap>&nbsp;&nbsp;&nbsp;<b>Quick Links</b>&nbsp;&nbsp;<%Build_Menu(1)%>
</td>
</tr>
<tr>
<td style="background:#000000" valign="top" height="20"><%Build_Menu(2)%>
</td>
</tr>
</table>
</body>
</html>

The menubuild.asp page is the code that is supplied with the asp/sql example. (verison 5.733)

This is what appears in "view source":
<table width="100%" cellpadding="0" cellspacing="0" id="remove" height="25">

<!----------------------Menu Start------------------------------------------------->
<tr>
<td style="background:#005793;color:#FFFFFF" valign="top" height="21" nowrap>&nbsp;&nbsp;&nbsp;<b>Quick Links</b>&nbsp;&nbsp;<script>
_menuCloseDelay=500;
_menuOpenDelay=150;
_subOffsetTop=2;
_subOffsetLeft=-2;

with(appbuttons=new mm_style()){
oncolor="#FFFFFF";
onbgcolor="#000000";
offcolor="#FFFFFF";
offbgcolor="#005793";
padding="4";
separatorsize="0";
borderwidth="0";
fontfamily="verdana";
fontsize="9px";
}



with(milonic=new menuname("apps")){
style=appbuttons;
alwaysvisible="1";
orientation="horizontal";
aI("image=/images/mreports.gif;text=myReports;url=/reports/;");
aI("image=/images/meis.gif;text=EIS;url=/eis/;");
aI("image=/images/mfedex.gif;text=FedEX;url=https://www.fedex.com/cgi-bin/ship_it/interNetShip?action=passkey&state_id=161&origincountry=us&urlparams=us&locallang=us&sType=&netlabelid=&companyCd=dykemagossett&event.company=+Continue+;status=Federal Express;");
aI("image=/images/mUPS.gif;text=UPS;url=http://www.campusship.ups.com/;");
aI("image=/images/mlexis.gif;text=Lexis;url=http://www.lexis.com/;");
aI("image=/images/mwestlaw.gif;text=Westlaw;url=http://www.westlaw.com/;");
aI("image=/images/mvirus.gif;text=Virus;url=/virus/;");
aI("image=/images/mtraining.gif;text=Training;url=/training/;");
aI("image=/images/wgss.gif;text=WSG;url=http://www.worldservicesgroup.com/;");
}


drawMenus()</script>
</td>
</tr>
<tr>
<td style="background:#000000" valign="top" height="20"><script>
_menuCloseDelay=500;
_menuOpenDelay=150;
_subOffsetTop=2;
_subOffsetLeft=-2;

with(dropdown=new mm_style()){
oncolor="#FFFFFF";
onbgcolor="#2378BB";
offcolor="#FFFFFF";
offbgcolor="#000000";
padding="4";
separatorsize="0";
borderwidth="0";
fontfamily="verdana";
fontsize="9px";
}
with(dropdownsub=new mm_style()){
oncolor="#FFFFFF";
onbgcolor="#2378BB";
offcolor="#FFFFFF";
offbgcolor="#000000";
padding="4";
separatorsize="0";
borderwidth="0";
fontfamily="verdana";
fontsize="9px";
}



with(milonic=new menuname("dropdowntop")){
style=dropdown;
alwaysvisible="1";
orientation="horizontal";
aI("text=Departments;showmenu=admin;");
aI("text=Offices;showmenu=offices;");
aI("text=Practice Areas;showmenu=areas;");
aI("text=Features;showmenu=features;");
aI("text=Dykema Sites;showmenu=sites;");
}

with(milonic=new menuname("admin")){
style=dropdownsub;
alwaysvisible="0";
overflow="scroll";
aI("text=Facilities;url=/facilities;");
aI("text=Finance/Accounting;url=/finance;");
aI("text=Human Resources;url=/HR;");
aI("text=Information Systems;url=/IS;");
aI("text=Library;url=/library;");
aI("text=Marketing;url=/marketing;");
aI("text=Technical Education & Support;url=/training;");
aI("text=Telecommunications;url=/telecomm;");
}

with(milonic=new menuname("litsupport")){
style=dropdownsub;
alwaysvisible="0";
overflow="scroll";
aI("text=Litigation Support;url=/litigationsupport;");
}

with(milonic=new menuname("offices")){
style=dropdownsub;
alwaysvisible="0";
overflow="scroll";
aI("text=Ann Arbor;url=http://www.dykema.com/office/annarbor.asp;");
aI("text=Bloomfield Hills;url=http://www.dykema.com/office/bloomfield.asp;");
aI("text=Chicago;url=/chicago;");
aI("text=Detroit;url=/detroit;");
aI("text=Grand Rapids;url=/grandrapids;");
aI("text=Lansing;url=/lansing;");
aI("text=Los Angeles;url=http://www.dykema.com/office/losangeles.asp;");
aI("text=Washington, D.C.;url=http://www.dykema.com/office/washdc.asp;");
}

with(milonic=new menuname("areas")){
style=dropdownsub;
alwaysvisible="0";
overflow="scroll";
aI("text=Business Services;url=/business;");
aI("text=Employment;url=/labor;");
aI("text=Government Policy;showmenu=government;");
aI("text=Litigation;url=/litigation;");
aI("text=Real Estate & Environmental;showmenu=realestate;");
aI("text=Taxation & Estates;showmenu=tax;");
}

with(milonic=new menuname("business")){
style=dropdownsub;
alwaysvisible="0";
overflow="scroll";
aI("text=Automotive;url=http://www.dykema.com/automotive;");
aI("text=Bankruptcy;url=/bankruptcy;");
aI("text=Biotechnology & Life Sciences;url=http://www.dykema.com/biotech;");
aI("text=Corporate Finance;showmenu=corpfin;");
aI("text=Health Care;url=/healthcare;");
aI("text=Intellectual Property;url=/IP;");
}

with(milonic=new menuname("corpfin")){
style=dropdownsub;
alwaysvisible="0";
overflow="scroll";
aI("text=Brunswick;url=/brunswick;");
}

with(milonic=new menuname("government")){
style=dropdownsub;
alwaysvisible="0";
overflow="scroll";
aI("text=Antitrust & Trade Regulation;url=/antitrust;");
aI("text=Government Policy;url=/government;");
}

with(milonic=new menuname("realestate")){
style=dropdownsub;
alwaysvisible="0";
overflow="scroll";
aI("text=Construction Law;url=/construction;");
aI("text=Environmental;url=/environmental;");
aI("text=Real Estate;url=/realestate;");
}

with(milonic=new menuname("tax")){
style=dropdownsub;
alwaysvisible="0";
overflow="scroll";
aI("text=Employee Benefits;url=http://www.dykema.com/employee;");
aI("text=Taxation & Estates;url=/tax;");
}

with(milonic=new menuname("features")){
style=dropdownsub;
alwaysvisible="0";
overflow="scroll";
aI("text=Birthdays;url=/calendar/bdays.asp;");
aI("text=Classified Ads;url=/news;");
aI("text=Efiling;url=/efiling;");
aI("text=Electronic Library;url=/internet/online.asp;");
aI("text=Employee Connections;url=/connections;");
aI("text=Firm Committees;url=/general/committees.asp;");
aI("text=Firm Holidays;url=/calendar/bdays.asp?id=3;");
aI("text=Internet Link Directory;url=/internet;");
aI("text=Special Projects;showmenu=special;");
aI("text=Standard Practice Manual;url=/manual;");
aI("text=Ticket Exchange;url=/ticketexchange;");
}

with(milonic=new menuname("special")){
style=dropdownsub;
alwaysvisible="0";
overflow="scroll";
aI("text=Brunswick;url=/brunswick;");
aI("text=GlaxoSmithKline;url=/gsk;");
aI("text=Shell Oil;url=/shell;");
aI("text=UPS Core Counsel;url=/ups;");
}

with(milonic=new menuname("sites")){
style=dropdownsub;
alwaysvisible="0";
overflow="scroll";
aI("text=Dykema Client Extranet;url=/extranet;");
aI("text=Ethics;url=/ethics;");
aI("text=Gaming Lawyers;url=http://www.gaminglawyers.net;");
aI("text=Michigan Adoption;url=http://www.michiganadoption.net;");
aI("text=Michigan Cybercourt;url=http://www.michigancybercourt.net;");
}


drawMenus()</script>
</td>
</tr>
</table>

Looks complete to me, but nothing appears on the page except the table cells.