Porting over options from the other module.

Comments

castelar’s picture

subscribing - thanks for the great module! Looking forward to pause on hover.

g.k’s picture

+1

dmitriy.trt’s picture

Category: feature » bug
Status: Active » Needs review
StatusFileSize
new5.94 KB
new21.85 KB

We've made some changes for custom site and want to share results. Attached patch can be applied to the latest git code at the moment. List of changes:

  • Implemented auto-pause (pause animation on mouse over).
  • Properly validate plug-in. For example, administrator could change number of items in view after setting options of style plug-in and previous version would fail in this situation.
  • Fix JS error in situation when actual number of items is lower than SimpleSpy limit.
  • Implement second animation direction.
  • Rewrite jQuery plug-in to follow plugins best practices, this also allows to control plugin from outside (helpful if you want to pause/resume it from custom code).
  • Fade and Sliding speed is now in milliseconds.
  • Add "overflow: hidden" to list (for different sized items this fixes some common bugs).

Also, attaching complete module with patch applied for people who want to test it.

dmitriy.trt’s picture

digi24’s picture

Patch in #3 works for me.

dellintosh’s picture

Version: 6.x-1.x-dev » 6.x-1.1
Status: Needs review » Fixed

works great!

Thank you Dmitriy.trt

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.