手机
当前位置:查字典教程网 >编程开发 >Javascript教程 >jquery实现的回旋滚动效果完整实例【附demo源码下载】
jquery实现的回旋滚动效果完整实例【附demo源码下载】
摘要:本文实例讲述了jquery实现的回旋滚动效果。分享给大家供大家参考,具体如下:这里分享一款回旋滚动效果,先上效果图:具体代码如下:jquer...

本文实例讲述了jquery实现的回旋滚动效果。分享给大家供大家参考,具体如下:

这里分享一款回旋滚动效果,先上效果图:

jquery实现的回旋滚动效果完整实例【附demo源码下载】1

具体代码如下:

<!DOCTYPE HTML> <html lang="en-US"> <head> <meta charset="UTF-8"> <title>jquery-roundabout</title> <style type="text/css"> *{padding:0;margin:0;} body{font:24px tahoma;} ul{list-style:none;margin:100px auto 0;width:500px;height:200px;} li{line-height:200px;height:200px;width:300px;background:#ccc;text-align:center;cursor:pointer;} .roundabout-in-focus{cursor:default;} </style> </head> <body> <ul> <li>Block 1</li> <li>Block 2</li> <li>Block 3</li> <li>Block 4</li> <li>Block 5</li> </ul> </body> </html> <script type="text/javascript" src="js/jquery-1.7.2.min.js"></script> <script type="text/javascript" src="js/jquery.roundabout.min.js"></script> <script type="text/javascript"> $(function(){ $('.roundabout').roundabout(); }); </script>

至于roundabout.js 的代码可以去官网上下载,这里就不写了。

官网地址为:http://fredhq.com/projects/roundabout

完整实例代码点击此处本站下载。

希望本文所述对大家jQuery程序设计有所帮助。

【jquery实现的回旋滚动效果完整实例【附demo源码下载】】相关文章:

jQuery实现表格行上下移动和置顶效果

Javascript实现的SHA-256加密算法完整实例

jQuery实现的多屏图像图层切换效果实例

用srcElement实现添加效果 原创

JS+CSS实现的拖动分页效果实例

js设置document.domain实现跨域的注意点分析

基于jQuery实现的无刷新表格分页实例

jquery实现的判断倒计时是否结束代码

JavaScript实现的MD5算法完整实例

js实现简单div拖拽功能实例

精品推荐
分类导航