Results 1 to 2 of 2

Thread: can you timeout menu mouseover to reduce sensitivity?

  1. #1
    Join Date
    Jun 2009
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default can you timeout menu mouseover to reduce sensitivity?

    1) Script Title: Drop Down Tabs (5 styles)

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

    3) Describe problem: not an actual problem with the script -- i love these tabs. I'm using example one.

    but the mouseovers are very sensitive. is there a way to use timeout or something so that they don't open with just an accidental mouseover? thank you.

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

    Default

    Try finding the following lines inside the .js file:

    Code:
    				obj2.parentNode.className="selected"
    				obj.visibility="visible"
    and change that to:
    Code:
    				clearTimeout(this.delayshow)
    				tabdropdown.delayshow=setTimeout(function(){
    					obj2.parentNode.className="selected"
    					obj.visibility="visible"
    				}, 200)
    Where 200 adds a 200 milliseconds delay.
    DD Admin

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
  •