<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>多行滚动jQuery循环新闻列表代码</title>
<style type="text/css">
*{margin:0;padding:0}
ul {list-style: none;}
#scrollDiv{width:800px;height:100px;min-height:25px;line-height:25px;border:#ccc 1px solid;overflow:hidden}
#scrollDiv li{height:25px;padding-left:10px;}
#scrollDiv ul:nth-child(1) {
margin-left: 20px;
float: left;
}
#scrollDiv ul:nth-child(2) {
margin-left: 10px;
float: left;
}
</style>
<script src="jquery.min.js" type="text/javascript"></script>
<script type="text/javascript">
//滚动插件
(function($){
$.fn.extend({
Scroll:fu
多行 多元素 同时 滚动
最新推荐文章于 2022-05-16 18:13:13 发布