Results 1 to 5 of 5

Thread: AnyLink CSS Menu Delay

  1. #1
    Join Date
    Dec 2007
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default AnyLink CSS Menu Delay

    1) Script Title: AnyLink CSS Menu

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

    3) Describe problem: I would like to create a delay for when the menu appears. I tried using the code I found in the forum for the Anylink Menu, but it didn't work. Is there a different piece of coding for the CSS version? Thank you so much!

  2. #2
    Join Date
    Dec 2007
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I'm sure this is something really simple, but if anyone could help, that would be great.

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

    Default

    The first line of anylink.js should have something like this:

    HTML Code:
    var disappeardelay=250  //menu disappear speed onMouseout (in miliseconds)
    Change the number (250) to whatever you want.

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

    Default

    Guyon, actually what the OP was asking is the reverse of what you had posted, which is how to add a delay before the drop down menu is shown onMouseover. To Keller's question, just use the attached modified anylink.js file, and then in your HTML, you would change the default drop down function to what's shown below in red instead:

    Code:
    <a href="http://www.dynamicdrive.com" onClick="return clickreturnvalue()" onMouseover="delaydropdownmenu(this, event, 'anylinkmenu1')">Anchor Link</a>
    FYI how to do this with Anylink Drop Down Menu (non CSS version) can be found in this thread: http://www.dynamicdrive.com/forums/s...ad.php?t=27095

  5. #5
    Join Date
    Dec 2007
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thank you so much for the help ddadmin! It works just how I wanted it to now. I really appreciate you taking the time to help me!

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
  •