Results 1 to 6 of 6

Thread: Help with AnyLink Drop Down Menu

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

    Default Help with AnyLink Drop Down Menu

    1) Script Title: AnyLink Drop Down Menu

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

    3) Describe problem: I'm trying to put together examples of different menu options for a group of people that I'm working on a website for. I've been having fun with the different scripts I've found here. This one however, is giving me trouble. The problem has not become obvious to me and I'm hoping someone here can look at it and point out my probably very obvious error. I'm trying to use the script here: http://jessicas-haven.com/scripttest5/index.htm and I swear the only thing I've changes is the links and their names!

    Please help!!
    Jessica

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

    Default

    You need to backslash any single apostrophes in your menu contents, so ' becomes \', as they are reserved characters in JavaScript. For example:

    Code:
    menu1[0]='<a href="http://www.jessicas-haven.com/family/brittany.html">Brittany\'s Picture Page</a>'
    menu1[1]='<a href="http://www.jessicas-haven.com/family/morgan.html">Morgan\'s Picture Page</a>'
    Do this for all occurrences of single apostrophes in your menu contents.
    DD Admin

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

    Default

    Ohhh! That helps. Thanks!

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

    Default

    Ok, I fixed all of those. Still doesn't work.

    Sorry for the questions, scripting just isn't my thing.

    Jessica

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

    Default

    Are you sure? The drop down menus are now showing for me.
    DD Admin

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

    Default

    :blush LOL Some gremlin must have fixed them after I took a break last night. Yes, they are working now for me too.

    Thank you and sorry about that.
    Jessica

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
  •