• Resolved ynagaoka

    (@ynagaoka)


    Hi, Thank you for the wonderful plugin πŸ™‚

    Is it possible to adjust the speed of Overlay slide toggle??
    I have poor jQuery πŸ™

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author dpowney

    (@dpowney)

    Lines 91 and 97 of frontend.js you’ll see this bit of code: .slideToggle("slow", function() {});

    You can set the duration in the function as follows:

    .slideToggle("fast", function() {});

    or for 2 seconds (duration below is in milliseconds)
    .slideToggle(2000, function() {});

    See http://api.jquery.com/slidetoggle/

    Note any changes you make to the core plugin code will be overridden on any plugin updates.

    Cheers,
    Daniel

    Thread Starter ynagaoka

    (@ynagaoka)

    Thank you for replying quickly.
    I resolved that problem πŸ™‚

    Thanks a lot!!

    Regards.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Toggle Speed’ is closed to new replies.