serialscroll

jQuery SerialScroll: Add class to active item

家住魔仙堡 提交于 2019-12-11 10:06:49
问题 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 })

jQuery.ScrollTo / jQuery.SerialScroll Horizontal Scrolling

别等时光非礼了梦想. 提交于 2019-11-28 19:57:56
I am looking to implement horizontal scrolling using jQuery.SerialScroll (based on jQuery.ScrollTo ). I currently have a continuous horizontal scrolling working with liScroll as I discuss in this post . However, now I need discrete scrolling and I have SerialScroll working perfectly for vertical scrolling. For some reason, if the 'axis' property is specified as 'x' nothing happens. I can't even get the SerialScroll example for right to left scrolling to work. I have HTML like this: <div id="pane"> <div>Item 1</div> <div>Item 2</div> <div>Item 3</div> </div> I have jQuery like this, that works

jQuery.ScrollTo / jQuery.SerialScroll Horizontal Scrolling

笑着哭i 提交于 2019-11-27 12:36:21
问题 I am looking to implement horizontal scrolling using jQuery.SerialScroll (based on jQuery.ScrollTo). I currently have a continuous horizontal scrolling working with liScroll as I discuss in this post. However, now I need discrete scrolling and I have SerialScroll working perfectly for vertical scrolling. For some reason, if the 'axis' property is specified as 'x' nothing happens. I can't even get the SerialScroll example for right to left scrolling to work. I have HTML like this: <div id=