var total = 310; var pageNo = 1; var pageCount = 31;合計? var pageSize = 10; var actionName = "list.action"; var otherParam = "&name='www'&order='time'"; paginate();//ページネーション} );
if(pageCount <= pageSize){ for (var i=0; i var hf = actionName "&pageNo=" (i 1) if(pageNo == (i 1)){//現在のページ $pageDiv.append("" pageNo ""); }else{ $pageDiv.append(" " ( i 1) ""); }; }; }else{ for(var i= 0; i < pageSize; i ){ var midIndex = 0){ midIndex = pageSize/2 - 1; >midIndex = pageSize/2; var num = -midIndex; var showPageNum = pageNo;