Solved

Very URGENT SubMenu Help

Posted on 2009-05-07
7
266 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
  • 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
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
An enjoyable and seamless user experience can go a long way on an eCommerce site. While a cohesive layout and engaging copy play roles in creating a positive user experience, some sites neglect aspects that seem marginal but in actuality prove very …
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

932 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now