kswedberg / jquery-carousel-lite

A jQuery carousel plugin based on jCarouselLite by Ganeshji Marwaha
MIT License
177 stars 59 forks source link

prev/next on hover #36

Closed c2mrdale closed 10 years ago

c2mrdale commented 10 years ago

It would be great to be able to hover to scroll left or right...

travco commented 10 years ago

I completely agree with you that adding cycling-on-hover would be a good piece of functionality, but this is just the plugin, not a ready-made carousel. It would be difficult to add something like this and have it work with anyone's arrangement.

If you want to have on-hover functionality, you'd want to make your carousel, and make a simple on-hover script that fires $(".yourslideshowclass").trigger('go', '+=1') when the mouse goes over the right-hand edge (maybe some small transparent element on each side over/next to the carousel?). With the same thing on the left-hand side except with a '-=1'.

kswedberg commented 10 years ago

I'm afraid I have to agree with @travco here. I like the idea, but I don't have the time or inclination to add it to this plugin.