Results 1 to 2 of 2

Thread: AnyLink Drop Down Menu

  1. #1
    Join Date
    Jun 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default AnyLink Drop Down Menu

    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

    http://www.chilliumc.org/test2008_drops.htm

    http://www.dynamicdrive.com/dynamici...pmenuindex.htm

  2. #2
    Join Date
    Feb 2008
    Location
    Cebu City Philippines
    Posts
    1,160
    Thanks
    17
    Thanked 277 Times in 275 Posts

    Default

    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:
    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.
    Learn how to code at 02geek

    The more you learn, the more you'll realize there's much more to learn
    Ray.ph!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •