View Full Version : AnyLink Drop Down Menu

BK Web Works
06-10-2008, 08:37 PM
Hello, when trying to add four additional menus to the drop down script, the first three I set up don't work at all. tks, bk



06-11-2008, 12:19 AM
As firebug says, menu4-menu7 is not defined.

The next thing I did was to see the script if firebug was (as usual) telling the cause of the error. Then, it really did. You missed to add menu4 to menu7 in your script.

Find this in your code:

//Contents for menu 1
var menu1=new Array()
menu1[0]='<a href="http://www.chilliumc.org/index.html">Return to Home Page</a>'

//Contents for menu 2
var menu2=new Array()
menu2[0]='<a href="http://www.chilliumc.org/adults.htm">LINKS Small Groups</a>'
menu2[1]='<a href="http://www.chilliumc.org/adults.htm">Sunday Morning Classes</a>'
menu2[2]='<a href="http://www.chilliumc.org/adults.htm">Celebrate Recovery</a>'
menu2[3]='<a href="http://www.chilliumc.org/adults.htm">Senior Adult Ministries</a>'
menu2[4]='<a href="http://www.chilliumc.org/adults.htm">Disciple Bible Study</a>'
menu2[5]='<a href="http://www.chilliumc.org/adults.htm">Wednesday Ministries</a>'
menu2[6]='<a href="http://www.chilliumc.org/adults.htm">Opportunities to Serve</a>'
menu2[7]='<a href="http://www.chilliumc.org/adults.htm">United Methodist Men</a>'
menu2[8]='<a href="http://www.chilliumc.org/adults.htm">United Methodist Women</a>'

//Contents for menu 3
var menu3=new Array()
menu3[0]='<a href="http://www.chillic41.com">Student Life</a>'

//Contents for menu 4
var menu4=new Array()
menu4[0]='<a href="http://www.google.com">Google</a>'

//Contents for menu 5
var menu5=new Array()
menu5[0]='<a href="http://www.google.com">Google</a>'

//Contents for menu 6
var menu6=new Array()
menu6[0]='<a href="http://www.google.com">Google</a>'

//Contents for menu 7
var menu7=new Array()
menu7[0]='<a href="http://www.google.com">Google</a>'

Highlighted are added. Just modify them to your desire.

Hope it helps.