Results 1 to 3 of 3

Thread: Brain Dead! Can't get dropdown menu to work

  1. #1
    Join Date
    May 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Brain Dead! Can't get dropdown menu to work

    Brain Dead! Can't get dropdown menu to work (and I am on muscle relaxers for pulled back Ouch!!!)

    I believe it was called Any Menu Drop, and to honest believe it was a CSS & Java combo because it is SE friendly, but I cannot for the life of me to get it to work!

    Finally got things all set - but when uploaded, no drop downs. only main links....

    can someone please help?

    My test page is http://nipple-huggers.com/thank-you.html Please note this is non piercing body jewelry, so if easily offended - please be warned.

    Help!
    Thanks,
    Jinga

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Warning: Please include a link to the DD script in question in your post. See this thread for the proper posting format when asking a question.

    There's 3 errors in your JavaScript code. First:

    Code:
    menu5[2]='<a href="http://nipple-huggers.com/Anthonys-Staff-Stiff.html">Anthony\'s Staff is Stiff...</a>'
    You need to add the backslash in ("\"), since your text contains an apostrophe (a reserved word in JS).

    Then, look at:

    Code:
    //Contents for menu 2, and so on
    var menu2=new Array()
    menu2[0]='<a href="http://nipple-huggers.com/LadiesSingles.html">Nipple Dangles I</a>'
    menu2[1]='<a href="http://nipple-huggers.com/LadiesSingles1.html">Nipple Dangles II</a>'
    menu2[2]='<a href="http://nipple-huggers.com/LadiesSingles2.html">Nipple Dangles III</a>'
    menu2[3]='<a href="http://nipple-huggers.com/LadiesSingles3.html">Nipple Dangles IV</a>'
    menu2[4]='<a href="http://nipple-huggers.com/LadiesSingles4.html">Nipple Dangles V</a>'
    menu2[5]='<a href="http://nipple-huggers.com/LadiesSingles5.html">Nipple Dangles VI</a>'
    menu2[6]='<a href="http://nipple-huggers.com/LadiesSingles6.html">Nipple Dangles VII</a>'
    menu2[7]='<a href="http://nipple-huggers.com/LadiesSingles7.html">Nipple Dangles VIII</a>'
    menu2[8]='<a href="http://nipple-huggers.com/LadiesSingles8.html">Nipple Dangles IX</a>'
    menu2[9]='<a href="http://nipple-huggers.com/LadiesSingles9.html">Nipple Dangles X</a>'
    
    //Contents for menu 3, and so on
    var menu3=new Array()
    You had "menu2" and "menu3" reversed when you defined them. The code in red corrects this.

    FYI there's also Anylink CSS menu, which lets you define your menu items as plain HTML. Might be easier if you're having a hard time working with JavaScript.

  3. #3
    Join Date
    May 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thank you sooo much! Yes, I did reverse the menu order and I guess I could not see the forest for the trees type thing. sorry for inconvenience & thank you for your patience....

    Sincerely,
    Claudia

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
  •