Results 1 to 4 of 4

Thread: drop down script help--it was working!

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

    Default drop down script help--it was working!

    1) Script Title: AnyLink Drop Down Menu

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...pmenuindex.htm

    3) Describe problem:
    Hi there, I love this script--but it suddenly stopped working for me. I have a sample page loaded here where the rollover on the side menu (rollover "shop" in the yellow menu) IS working:
    http://juliegoodnight.com/JGwebsite.html

    Once I made a few more edits to my template, the script isn't working anymore. I've copied and looked over the code compared with the original and I'm just stumped. I'd love some help if someone has a moment to look. Here's the page that isn't working--and of course I can't figure out what I did to get back to the file that was working. . . .
    http://juliegoodnight.com/test.html
    On this "test" page the same "shop" menu item and the link below, "horses," should have a drop down--but they aren't showing up for me.

    Please help!

    Thanks so much! I've been staring at this for 3 hours now :-)

    Heidi

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

    Default

    Make sure any apostrophes within your menu contents are backslashed, as they are reserved characters in JavaScript. So for example, with the following content, add the code in red:

    Code:
    menu1[4]='<a href="http://juliegoodnight.com/horses/buyer.htmll">Buyer\'s Q&amp;A</a>'
    DD Admin

  3. #3
    Join Date
    Aug 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks, but no luck. I took out all the apostrophes and ampersands to see if anything else might be making an unintentional code change. I don't see anything else that would now. . . .

  4. #4
    Join Date
    Aug 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I kept messing around and it's working! Thanks for the motivation to keep going!

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
  •