Titel einfügen hier title>
< /head>
< ;script type ='text/javascript'>
var arr=new Array(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15, 16,17 ; pageCon(arr,start,len){
var constr='';
for(var i=start;i
if(arr[i-1 ]){
constr =arr[i-1] "
";
}
}
return constr;
}
function show(arr,now_page){ var sum=arr.length;
var page_size=3;
var page_num=Math.ceil(sum/page_size);
var start= (now_page-1)*page_size 1; var page_str='';
for(var i=1;i<=page_num;i ){
var stylei=i;
if(i ==now_page){ stylei="" i "";}
page_str ='' stylei '';
}
$('#page').html(page_str);
var constr=pageCon(arr,start,page_size);
$('#con').html(constr);
}
show(arr,2);