17 lines
271 B
JavaScript
17 lines
271 B
JavaScript
|
|
|||
|
<!--
|
|||
|
var pager = new ETNGpager('list','list2',24,10);//24Ϊÿҳ<C3BF><D2B3>ʾ<EFBFBD><CABE><EFBFBD><EFBFBD><EFBFBD><EFBFBD>10Ϊ<30><CEAA><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ<EFBFBD>˵<EFBFBD><CBB5><EFBFBD>
|
|||
|
var curP = 1;
|
|||
|
page()
|
|||
|
function page(i){
|
|||
|
curP =(curP>pager.cntP)?1:curP;
|
|||
|
if(i){
|
|||
|
curP = n =i;
|
|||
|
}else{
|
|||
|
n = curP++;
|
|||
|
}
|
|||
|
pager.curP = (n>pager.cntP)?pager.cntP:n;
|
|||
|
pager.create();
|
|||
|
}
|
|||
|
//-->
|