- $("#sliderFeaturesCtr").scrollable({
- circular: true,
- speed: 200,
- onSeek: function() {
- aclass = this.getConf().activeClass;
- // Find all the buttons, remove active from all of them, then add it back to the currently selected one
- $($('#main_navi li').removeClass(aclass)[this.getIndex()]).addClass(aclass);
- }
- }).navigator({
- navi: "#main_navi",
- naviItem: 'li > a',
- activeClass: 'active',
- history: true
- });