Results 1 to 6 of 6

Thread: Anylink Drop Down Anchor Link

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

    Default Anylink Drop Down Anchor Link

    1) Script Title: AnyLink Drop Down Menu

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

    3) Describe problem: I got the script working and looking pretty, and then I realized that the anchor links don't go anywhere. I saw in the "Anylink CSS menu" that it had this:

    var enableanchorlink=1 //Enable or disable the anchor link when clicked on? (1=e, 0=d)

    But the Anylink Drop Down doesn't seem to have that option. Is there a way to enable the anchor links on this script as well? Did I miss that?

    Thanks SO much for your help! I can supply a link if needed.
    Last edited by ddadmin; 09-24-2008 at 09:07 AM.

  2. #2
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    Can you post a link to your page so that I can check it out?(or we)
    Jeremy | jfein.net

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

    Default Link

    Sure! Here is the link:

    http://client23.bringthebling.com/

    You can also see that the link works when you right click on it, but not when you left click.

  4. #4
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    Usually when you left click on a link, it doesn't take you there.
    Jeremy | jfein.net

  5. #5
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Quote Originally Posted by Nile View Post
    Usually when you left click on a link, it doesn't take you there.
    Um, no. The left click is the default (unless you have a left handed mouse) and will take you to the link normally.

    However, this menu it is designed so that the triggers for the drop downs will not act as links unless javascript is disabled. Generally this is preferred, and allows for alternate behavior if there is no javascript.

    But you can change this if you like by removing:

    Code:
    onClick="return clickreturnvalue()"
    from the trigger links.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

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

    Default Thank you so much!

    Man... I can not thank you enough for helping me! I figured it was something easy. I was trying to take the code from the css anywhere link (which enabled the anchor click)... hours of wasted time... sigh.

    Again, thank you so much. Worked like a charm.

    ~ Chrissy

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
  •