[b]Pager:分页控件[/b]
[img]http://www.miniui.com/docs/api/images/pager.gif[/img]
参考示例:[url=http://www.miniui.com/demo/pager/pager.html]Pager:分页控件[/url]
[b]创建代码[/b]
<div class="mini-pager" style="width:600px;background:#ccc;"
totalCount="123" onpagechanged="onPageChanged" sizeList="[5,10,20,100]"
showTotalCount="true"
>
</div>
<script type="text/javascript">
function onPageChanged(e) {
alert(e.pageIndex+":"+e.pageSize);
}
</script>
[img]http://www.miniui.com/docs/api/images/pager.gif[/img]
参考示例:[url=http://www.miniui.com/demo/pager/pager.html]Pager:分页控件[/url]
[b]创建代码[/b]
<div class="mini-pager" style="width:600px;background:#ccc;"
totalCount="123" onpagechanged="onPageChanged" sizeList="[5,10,20,100]"
showTotalCount="true"
>
</div>
<script type="text/javascript">
function onPageChanged(e) {
alert(e.pageIndex+":"+e.pageSize);
}
</script>