samsono / Easy-Responsive-Tabs-to-Accordion

Easy responsive tabs - is a lightweight jQuery plugin which optimizes normal horizontal or vertical tabs to accordion on multi devices like: web, tablets, Mobile (IPad & IPhone). This plugin adapts the screen size and changes its action accordingly.
Other
603 stars 259 forks source link

Navigation support and Auto change tabs control for mouse enter and leave events #41

Open yalamber opened 10 years ago

yalamber commented 10 years ago

Added Navigation support, pause on mouseenter and resume on mouseleave event in container, Pause when tab is clicked. Added custom events for pause and resuming the tabs

evanmoore commented 10 years ago

I think I may have found one bug, but only because I tried testing the experience if the automation rotation was configured as “auto: false”. Testing “auto: true” worked 100%. This enhancement is crazy good by the way. Flawless with auto: true configured.

However, if this new experience for auto rotation is also meant to work with auto: false then I’ve found a bug.

Should the admin not want a default auto rotation to begin (for whatever reason) and therefore gives the auto rotation control to the user then this is what happens:

Video demo: http://screencast.com/t/Pz3sta6C

Steps to recreate: 1) Admin has auto: true configured as "auto: false" 2) Open your index.html page and click “Pause/Play” button. The button will change to “Resume” , but no rotation will begin. 3) Now click “Resume” and rotation will begin. Expected result: if auto: false is configured by then Admin then “Pause/Play” should be configured as “Play” manually by the admin however when the user clicks “Play” then technically it should change to Pause since auto rotation should have begun. Note: Also, when auto: false is configured and the user does auto play the rotation manually then "pause on mouseenter and resume on mouseleave event in container” does not occur.

Thank you again, Evan