jQuery SerialScroll: Add class to active item
问题 I'm using Ariel Flesler's serialScroll script and would like to add a class to the active, or highlighted item so I can style it with CSS. Reading the documentation I discovered the notify trigger, but I'm not sure how / if it could be used to accomplish this. This is my code: jQuery jQuery(function( $ ){ $('#slideshow').serialScroll({ items:'li', prev:'#screen2 a.prev', next:'#screen2 a.next', offset:-180, start: 0, duration:1200, force:true, stop:true, lock:false, cycle:false, jump: true })