源码网商城,靠谱的源码在线交易网站 我的订单 购物车 帮助

源码网商城

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

  • 时间:2022-01-03 10:36 编辑: 来源: 阅读:
  • 扫一扫,手机访问
摘要:jquery实现的回旋滚动效果完整实例【附demo源码下载】
本文实例讲述了jquery实现的回旋滚动效果。分享给大家供大家参考,具体如下: 这里分享一款回旋滚动效果,先上效果图: [img]http://files.jb51.net/file_images/article/201609/2016920104442401.png?201682010456[/img] 具体代码如下:
<!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 class="roundabout">
  <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 的代码可以去官网上下载,这里就不写了。 官网地址为:[url=http://fredhq.com/projects/roundabout]http://fredhq.com/projects/roundabout[/url] 完整实例代码点击此处[url=http://xiazai.jb51.net/201609/yuanma/jquery-roundabout-style-plugs-codes(jb51.net).rar]本站下载[/url]。 更多关于jQuery相关内容感兴趣的读者可查看本站专题:《[url=http://www.1sucai.cn/Special/877.htm]jQuery窗口操作技巧总结[/url]》、《[url=http://www.1sucai.cn/Special/497.htm]jQuery拖拽特效与技巧总结[/url]》、《[url=http://www.1sucai.cn/Special/200.htm]jQuery常用插件及用法总结[/url]》、《[url=http://www.1sucai.cn/Special/93.htm]jquery中Ajax用法总结[/url]》、《[url=http://www.1sucai.cn/Special/539.htm]jQuery表格(table)操作技巧汇总[/url]》、《[url=http://www.1sucai.cn/Special/451.htm]jQuery扩展技巧总结[/url]》、《[url=http://www.1sucai.cn/Special/430.htm]jQuery常见经典特效汇总[/url]》、《[url=http://www.1sucai.cn/Special/104.htm]jQuery动画与特效用法总结[/url]》及《[url=http://www.1sucai.cn/Special/75.htm]jquery选择器用法总结[/url]》 希望本文所述对大家jQuery程序设计有所帮助。
  • 全部评论(0)
联系客服
客服电话:
400-000-3129
微信版

扫一扫进微信版
返回顶部