jquery、jcarousel 带窗口区域的全宽
我的页面上有一个 jcarousel 对象,设置为 960px 宽并居中,在 .jcarousel-clip 上可见溢出,其宽度设置为 100%,因此它是整个窗口宽度。
我本质上希望旋转木马的运行始终可见,就像新的 bbc beta 滑块一样,所以我设置了“wrap:circular”
如果我将开始幻灯片设置为 2 (不是我真正想要做的),滑块在视觉上看起来像我想要的那样,如果我向左导航(上一页),滑块不再到达窗口边缘,当我再次单击上一页时,它会短暂闪烁幻灯片并将其移动。同样,当你继续下一步几次时,你最终会看到屏幕右侧的一个间隙。
所以我想我需要知道是否...
a) 在 jcourousel init 上,您能否将最后一张幻灯片放置在左侧,并且仍然将起始幻灯片设置为 1 以及...
b) 您能否将幻灯片放置在左侧和右侧在动画结束时而不是在动画开始时?
看看 js fiddle 示例,看看我的意思... http://jsfiddle.net/ stikoo/3T97L/7/
提前致谢:D
I've got a jcarousel object on my page that is set to 960px wide and centered, I've got overflow visible on the .jcarousel-clip with it set to 100% width so it's full window width.
I essentially want the run off from the carousel to always be visible, just like the new bbc beta slider, so I've set "wrap: circular"
If i set the start slide to 2 (not really what I want to do), the slider visually looks how I want it to, if I then navigate left(prev), the slider no longer goes to the edge of the window, when I then click prev again it briefly flashes the slide and moves it across. same when you go next a few times, you eventually come to a gap at the right of the screen.
So I guess I need to know if...
a) on jcourousel init, can you have the last slide staged to the left and still have start slide as 1 and...
b) can you stage the slides to the left and right on animation finish rather than on animation start?
have a look at the js fiddle example to see what I mean... http://jsfiddle.net/stikoo/3T97L/7/
Thanks in advance :D
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论