4、nPage>numshow){alert("超出页码范围!");returnfalse;}if(beginPage<=0){beginPage=1;}if(beginPage>100){beginPage=100;}if(beginPage>1){document.beginPagefrm.action="list_{dede:fieldname='typeid'/}_"+beginPage+".html";}else{document.beginPagefrm.action="{dede:typet
5、ypeid=’0′row=1}[field:typelink/]{/dede:type}";}returntrue;};$(function(){varnumshow=$('.paginationformli').index()if(numshow<2){$('#pageinfo').hide();}});Css部分:/*pages*/.pagination-wrapper{margin:20px0;}.pagination{height:34px;text-align:center
6、;}.paginationlispan{color:#a91b20}.paginationli{display:inline-block;height:23px;margin-right:5px;}.paginationlia{float:left;display:block;height:32px;line-height:32px;padding:012px;font-size:16px;border:1pxsolid#a91b20;color:#a91b20;text-decoration:non
7、e;}.paginationlia:hover{background:#a91b20;color:#fff;}.paginationli.thisclass{background:#a91b20;color:#fff;height:34px;width:35px;line-height:35px;}.paginationli.thisclassa,.paginationli.thisclassa:hover{background:transparent;border-color:#09f;color:
8、#fff;cursor:default;}.input_page{height:33px;width:33px;border:1pxsolid#a91b20;padding-left:2px;margin-top:-3px;color:#a91b20;margin-left:5px;}.sure_page{height:33px;width:65px;border:1pxsolid#a91b20;padding-left:2px;margin-top:-
此文档下载收益归作者所有