Solved

Very URGENT SubMenu Help

Posted on 2009-05-07
7
270 Views
Last Modified: 2012-05-06
I was able to create a drop down menu with the arrow for the sub menu. However, I am not sure how to get the submenu to open.  The menu item that needs to have a submenu is listed within the **************.  The submenu items are under m1mn8 new array.

Could someone please explan or show me how to do this?
m1mn7=new Array
(
"<!-- -->Contract Approval Form","/dhp/compliance/docs/Contract_Approval_Form.pdf",0
************************************************************************************************
,"<!-- -->Contract Management Policies and Procedures", "m1tlm8",1 
************************************************************************************************
,"<!-- -->Open Source Training Manual","/dhp/compliance/docs/OpenSource_Training_Librarians.pdf",0
)
m1mn8=new Array
(
"<!-- -->Contract Approval Form","/dhp/compliance/docs/CCM02_Contract_Approval_Form.pdf",0
,"<!-- -->Contract Authorization Levels","/dhp/compliance/docs/CCM03_Contract_Authorization_levels.pdf",0
,"<!-- -->Contract Librarian","/dhp/compliance/docs/CCM04_Contract_Librarian.pdf",0
,"<!-- -->OpenSource Process","/dhp/compliance/docs/CCM05_OpenSource_Process.pdf",0
,"<!-- -->Business Associates","/dhp/compliance/docs/PC4033_Business_Associates_policy.pdf",0
)

Open in new window

0
Comment
Question by:NewMom2Brandon
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 86

Expert Comment

by:CEHJ
ID: 24327228
I've no idea what API you're using but try making the second element with 'new Array' too
0
 
LVL 2

Author Comment

by:NewMom2Brandon
ID: 24327458
How would I do that?

I tried a couple of things and nothing worked
0
 
LVL 86

Accepted Solution

by:
CEHJ earned 500 total points
ID: 24327498
Try something like, the following, but this is of course simply in the hope that whatever api you're using supports submenus
m1mn7=new Array
(
"<!-- -->Contract Approval Form","/dhp/compliance/docs/Contract_Approval_Form.pdf",0
 
,new Array("<!-- -->Contract Management Policies and Procedures", "m1tlm8",1) 
 
,"<!-- -->Open Source Training Manual","/dhp/compliance/docs/OpenSource_Training_Librarians.pdf",0
)

Open in new window

0
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

 
LVL 2

Author Comment

by:NewMom2Brandon
ID: 24327846
hmm.. didn't work
0
 
LVL 2

Author Comment

by:NewMom2Brandon
ID: 24327901
This is the whole file
//script generated by SiteXpert (www.xtreeme.com/sitexpert/)
//Copyright(C) 1998-2003 Xtreeme GmbH
NS60=(navigator.userAgent.indexOf("Netscape6/6.0")!=-1)
Opera=(navigator.userAgent.indexOf('Opera')!=-1)||(navigator.appName.indexOf('Opera')!=-1)||(window.opera)
Opera7=(Opera&&document.createElement!=null&&document.addEventListener!=null)
IE4=(document.all&&!Opera)
mac=((IE4)&&(navigator.appVersion.indexOf("Mac")!=-1))
DOM=document.documentElement&&!IE4&&!Opera
NS4=navigator.appName.indexOf("Netscape")>-1&&!DOM
mswnd=(navigator.appVersion.indexOf("Windows")!=-1||navigator.appVersion.indexOf("WinNT")!=-1)
if(IE4){
av=navigator.appVersion
avi=av.indexOf("MSIE")
if(avi==-1){version=parseInt(av);}else{version=parseInt(av.substr(avi+4));}}
var ver='2.0.1'
var m1=new Object
m1.name='m1'
m1.fnm='_m1'
if(!window.lastm||window.lastm<1)lastm=1
if(NS4||IE4||DOM||Opera){
m1.v17=null
m1.v17Timeout=''
var maxZ=1000
m1.v18
m1.targetFrame
var docLoaded=false
m1.bIncBorder=true
m1.v29=null
m1.v29Str=''
m1.scrollDelay=50
m1.scrollStep=10
m1.showDelayedTimeout=null
m1.fadingSteps=5
m1.v21="."
m1.maxlev=1
m1.v22=0
m1.bVarWidth=1
m1.bShowDel=150
m1.v23=110
m1.levelOffset=20
m1.bord=1
m1.vertSpace=5
m1.sep=1
m1.v19=false
m1.bkv=0
m1.rev=0
m1.shs=0
m1.xOff=0
m1.yOff=0
m1.v20=false
m1.cntFrame=""
m1.menuFrame=""
m1.v24=""
m1.mout=true
m1.iconSize=8
m1.closeDelay=0
m1.tlmOrigBg="#B2CFEB"
m1.tlmOrigCol="Black"
m1.v25=false
m1.v52=false
m1.popupOpacity=96
m1.v11=false
m1.rm=0
m1.v10=0
m1.popupLeftPad=5
m1.v01=2
m1.tlmHlBg="#003366"
m1.tlmHlCol="White"
m1.borderCol="white"
m1.menuHorizontal=false
m1.scrollHeight=6}
m1.lev0=new Array("11px",false,false,"Black","#B2CFEB","White","Arial,Helvetica","#003366")
m1.lev1=new Array("11px",false,false,"Black","#B2CFEB","White","Arial,Helvetica","#003366")
m1.lev2=new Array("11px",false,false,"Black","#B2CFEB","White","Arial,Helvetica","#003366")
m1mn2=new Array
(
"<!---->Fraud Awareness","/dhp/compliance/Fraud.asp",0
,"<!---->Clues to Look For","/dhp/compliance/Clues.asp",0
,"<!---->Identity Theft","/dhp/compliance/IdentityTheft.asp",0
,"<!---->Fraud Fighting Team","/dhp/compliance/Team.asp",0
,"<!---->Employee Incentive Program","/dhp/compliance/Incentive.asp",0
,"<!---->Health Care Fraud Cases","/dhp/compliance/FraudCases.asp",0
,"<!---->Contact SIU","/dhp/compliance/SIUContact.asp",0
,"<!---->SIU News","/dhp/compliance/SIUMonthlyNews.asp",0
,"<!---->SIU Referral Form","http://www.deancare.com/healthplan//shared/fraudawareness/Contact.asp?V=5",0
)
m1mn3=new Array
(
"<!--_blank-->Extraterritorial State Analysis ","/dhp/compliance/docs/SummaryStateAnalysis.doc",0
,"<!--_blank-->Summary of State Quoting Options","/dhp/compliance/docs/SummaryofStateQuotingOptions.doc",0
)
m1mn4=new Array
(
"<!-- -->Privacy Information ","/dhp/compliance/HIPAAPrivacy.asp",0
,"<!-- -->Security Information","/dhp/compliance/HIPAASecurity.asp",0
)
m1mn5=new Array
(
"<!-- -->FAQ ","/dhp/compliance/faq.asp",0
)
m1mn6=new Array
(
"<!-- -->Regulatory Compliance Request","/dhp/compliance/RegCompReqIntro.asp",0
,"<!-- -->Compliance and Human Resources Complaint","/dhp/compliance/Compliance_HR_Complaints_main.asp",0
,"<!-- -->Privacy Incident Report","/dhp/compliance/privacy_incident_report.asp",0
)
m1mn7=new Array
(
"<!-- -->Contract Approval Form","/dhp/compliance/docs/Contract_Approval_Form.pdf",0 
,new Array("<!-- -->Contract Management Policies and Procedures", "m1tlm8",1) 
,"<!-- -->Open Source Training Manual","/dhp/compliance/docs/OpenSource_Training_Librarians.pdf",0
 
)
m1mn8=new Array
(
"<!-- -->Contract Approval Form","/dhp/compliance/docs/CCM02_Contract_Approval_Form.pdf",0
,"<!-- -->Contract Authorization Levels","/dhp/compliance/docs/CCM03_Contract_Authorization_levels.pdf",0
,"<!-- -->Contract Librarian","/dhp/compliance/docs/CCM04_Contract_Librarian.pdf",0
,"<!-- -->OpenSource Process","/dhp/compliance/docs/CCM05_OpenSource_Process.pdf",0
,"<!-- -->Business Associates","/dhp/compliance/docs/PC4033_Business_Associates_policy.pdf",0
)
absPath="/images/"
if(m1.v19&&!m1.v20){
if(window.location.href.lastIndexOf("\\")>window.location.href.lastIndexOf("/")) {sepCh = "\\" ;} else {sepCh = "/" ;}
absPath=window.location.href.substring(0,window.location.href.lastIndexOf(sepCh)+1)}
m1.popupOffset=0
m1.v02=m1.v23
if(Opera&&!Opera7)document.write("<"+"script language='JavaScript1.2' src='/js/menu_opera.js'><"+"/"+"script>")
else if(NS4)document.write("<"+"script language='JavaScript1.2' src='/js/menu_ns4.js'><"+"/"+"script>")
else if(document.getElementById)document.write("<"+"script language='JavaScript1.2' src='/js/menu_dom.js'><"+"/"+"script>")
else document.write("<"+"script language='JavaScript1.2' src='/js/menu_ie4.js'><"+"/"+"script>")
document.write("<style type='text/css'>\n")
if(Opera7||IE4||DOM)document.write(".hidim{visibility:hidden}\n")
document.write(".m1CL0,.m1CL0:link{text-decoration:none;width:100%;color:Black; }\n")
document.write(".m1CL0:visited{color:Black}\n")
document.write(".m1CL0:hover{text-decoration:underline}\n")
document.write(".topFold{position:"+(!DOM&&!IE4?"relative":"static")+"}\n")
if(NS4&&!m1.v25)document.write(".x1{padding-left:5px;padding-right:-5px;}\n")
document.write(".m1mit{"+((!NS4||m1.v25)?"padding-left:5px;padding-right:-5px;":"")+"color:Black; font-family:Arial,Helvetica; font-size:11px; }\n")
document.write("</style>\n\n")

Open in new window

0
 
LVL 2

Author Comment

by:NewMom2Brandon
ID: 24328359
I figured it out...
All I needed to do was change the

m1mn8=new Array

to

m1mn7_1=new Array
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 24328609
:-)
0

Featured Post

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
When it comes to security, close monitoring is a must. According to WhiteHat Security annual report, a substantial number of all web applications are vulnerable always. Monitis offers a new product - fully-featured Website security monitoring and pr…
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.
Suggested Courses

635 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question