摘要: 1 $(document).ready(function(){ 2 //获取图片个数 3 var len = $("#focus ul li").length; 4 //获取焦点图整个宽度 5 var zWidth = $("#focus").width(); 6 var index = 0; 7 var hTime; 8 9 var btn = "<div class='btn'>";10 ... 阅读全文
posted @ 2013-01-23 14:48 /折磨 阅读(287) 评论(0) 推荐(0) 编辑
摘要: .pagerInfo { display: block; clear: both; text-align:center; height:30px; margin:5px 0px; overflow:hidden; color:#39579E;}.pagerInfo span{ display: block; float: left; border:1px solid #6593CF; margin:0px 2px 3px 0px; padding:2px 5px; line-height:20px; text-align:center; height:20px; color:#39579E;} 阅读全文
posted @ 2013-01-23 14:40 /折磨 阅读(200) 评论(0) 推荐(0) 编辑
摘要: $pagesize = 5; //每页条数$page = ($page < 1) ? 1 : $page;$start = ($page - 1) * $pagesize; //起始条数//信息列表$menulist = $this->CONN->getList("tb_admin_manager", "*", $where,'ORDER BY Fid', "LIMIT $start,$pagesize");分页类:<?phpclass Pager2 { /** * 分页时获取参数 * @par 阅读全文
posted @ 2013-01-23 14:39 /折磨 阅读(374) 评论(0) 推荐(0) 编辑