jquery - 在 chrome 中单击时旋转轮子的 js 文件

标签 jquery html css asp.net-mvc-4 jquery-animate

过去几天我一直在尝试找到使此链接中的轮子旋转的确切 js http://www.forbes.com/special-report/2013/philanthropy/top-givers.html

但我无法确定确切的 js。我加了

jquery-1.7.2.min.js、jquery.easing.1.3.js、mustache.js、jquery.event.drag-2.2.js、jquery.event.drop-2.2.js、bootsrap.js、roundabout -shapes.js, foresee.js, roundabout.js, top_givers.js, top_givers_data.js, top_givers_template.js, chartbeat.js

但它不起作用。如果有人能告诉我我究竟缺少什么。谢谢!!

最佳答案

您需要为 jQuery 添加 RoundAbout-Plugin。您可以从这里下载:http://fredhq.com/projects/roundabout/

在这里您可以找到如何使用它:http://fredhq.com/projects/roundabout/#/learn

基本上它是一个简单的无序列表,您必须从这个插件中调用 .roundabout() 方法。

<ul>
    <li></li>
    <li></li>
    <li></li>
</ul>

然后在你的 onload() 函数中:

$('ul').roundabout();

关于jquery - 在 chrome 中单击时旋转轮子的 js 文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21981067/

相关文章:

带有两个按钮的 HTML 文本框

html - 图像框水平对齐

html - CSS - 父<a>小于子

javascript - 在 localStorage 中存储和检索动态填充的下拉列表

css - Eclipse插件自动编译Sass文件

html - 超链接图像在较小的屏幕上不可点击

javascript - 使用inner.html.data更新jQueryUI进度条

javascript - 循环发布 ajax 结果,直到全部发布

jquery - 实现多个单独的联系模式的问题

javascript - 每次将类添加到元素时,使用 waitForKeyElements 显示一条消息