I’m using jCarouselLite to create a navigation element somewhat similar to the tabbed navigation used on Panic’s Coda site, but I’d like to trigger the left and right scroll on a keypress. Can this be done without modifying the jCarouselLite code? Thanks!
I’m using jCarouselLite to create a navigation element somewhat similar to the tabbed navigation
Share
Using the default settings, the buttons contain the classes
.prevand.nextso why not try to trigger clicks on them?If you pass in your own classes or IDs for the buttons in the options, bind to them instead.
This example will fire when you hit the left and right keyboard keys: