WordPress.org

Forums

Simple Lightbox
[resolved] Change Animation Speed? (4 posts)

  1. Paul
    Member
    Posted 1 year ago #

    Is it possible to change the speed of the animation (box opening, changing size, etc...)?

    http://wordpress.org/plugins/simple-lightbox/

  2. Archetyped
    Member
    Plugin Author

    Posted 1 year ago #

    There are currently no options for modifying animation speed.

  3. Paul
    Member
    Posted 1 year ago #

    OK, thanks for the quick reply. And, thanks for making this great plugin. It's appreciated.

    The plugin works really well. It's just a little too fast for my personal taste. I dug through the files a little and think I determined how to change the speed. Is it in /themes/default/client.js? I found 2 instances of var spd = 'fast';. I changed it to var spd = 'slow'; and it worked. Is there anywhere else I need to change it? And, what options will it take (slow, medium, fast, etc...)?

    Thanks!

  4. Archetyped
    Member
    Plugin Author

    Posted 1 year ago #

    See the "Duration" section on jQuery's animation API documentation

    Just a note: Modifications to SLB's code will be overwritten whenever SLB is updated.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Simple Lightbox
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.