帮助重构这个jQuery循环扩展 [英] Help refactor this jQuery Cycle extension

查看:96
本文介绍了帮助重构这个jQuery循环扩展的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有人帮助扩展jQuery周期插件和工作伟大(感谢Levi莫里森!)。这是一个快速原型,所以它仍然有一些怪癖:



http://jsfiddle.net/9tgdK/12/



向上滚动会产生奇怪的效果,无法正常工作。另一件事是,当您将鼠标悬停在主要内容图片上时,它不会暂停。任何人都可以帮助?

解决方案

回答: featurebox v2 (查看全屏)



我对这个版本使用了一种新技术,它更干净。

编辑:不再假设所有的分页器标签都是相同的高度。运行速度稍快。


I had someone help extend the jQuery Cycle plugin and works great (thanks Levi Morrison!). It was a quick prototype so it still has a few quirks:

http://jsfiddle.net/9tgdK/12/

Scrolling up gives a weird effect and can not get it to work properly. Another thing is that it does not pause when you hover over the main content image. Can anyone help?

解决方案

Answer: featurebox v2 (view fullscreen)

I use a new technique for this version, and it's a lot cleaner. I think it does what you want.

Edit: no longer assumes all pager tabs are the same height. Runs slightly faster.

这篇关于帮助重构这个jQuery循环扩展的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆