Results 1 to 3 of 3

Thread: Change speed

  1. #1
    Join Date
    Nov 2009
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Change speed

    hello
    I just put up this JavaScript .The problem is that I can not adjust the speed returns to the main link. For now return to the link is too fast. I want to change the speed. How do I do?thank you

  2. #2
    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

    If I understand you correctly, this (near the end of the demo page):

    Inside ddtabmenu.js

    Near the top of ddtabmenu.js, there are also two variables you can configure:

    Code:
    disabletablinks: false, //Disable hyperlinks in 1st level tabs with sub contents (true or false)?
    snap2original: [true, 300], //Should tab revert back to default selected when mouse moves out of menu? ([true/false, delay_millisec]
    The first variable sets whether to disable the main tabs themselves from navigating to another page when clicked on (despite them being hyperlinked).

    The second variable sets which tab should remain selected when the mouse moves out of the menu. False causes the last tab the user was on before moving out to be selected, while true causes the default selected tab (when the menu first loaded) to be selected once again. When set to true, also specify the time delay before the reverting takes place- practically it should be a number larger than 100.
    explains. I've highlighted the number to increase, try 1000 (one second) or more until you get what you want. Alternatively, if you don't want it snapping back at all, use:

    Code:
    disabletablinks: false, //Disable hyperlinks in 1st level tabs with sub contents (true or false)?
    snap2original: [false, 300], //Should tab revert back to default selected when mouse moves out of menu? ([true/false, delay_millisec]
    - John
    ________________________

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

  3. #3
    Join Date
    Nov 2009
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    nice thank you

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
  •