CINXE.COM
Institute of Software Chinese Academy of Sciences
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Institute of Software Chinese Academy of Sciences</title> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <link href="../../images/ecss.css" type="text/css" rel="stylesheet"> <link href="../../images/ecss.css" type="text/css" rel=stylesheet> <style type="text/css"> body {background-color: #fffdec;} </style> </head> <body> <table width="720px" border="0" cellspacing="0" cellpadding="0" class="SpanHeight font06"> <tr> <td align="center" valign="top" style="padding:0px 0 20px 0"> <table width="720" border="0" cellpadding="2" cellspacing="1" bgcolor="#ffffff"> <tr align="center" bgcolor="#ffffff"> <td width="405" height="26" bgcolor="#ff6600"><font color="#ffffff">Title</font></td> <td width="100" bgcolor="#ff6600"><font color="#ffffff">First Author</font></td> <td width="140" bgcolor="#ff6600"><font color="#ffffff">Title of Journal</font></td> <td width="75" bgcolor="#ff6600"><font color="#ffffff">Year</font></td> </tr> </table> <script> var currentPage = 0;//所在页从0开始 var prevPage = currentPage-1//上一页 var nextPage = currentPage+1//下一页 var countPage = 1//共多少页 document.write(countPage+" Page(s) "); //设置上一页代码 if(countPage>1&¤tPage!=0&¤tPage!=1) document.write("<a href=\"index.html\" class='fy'>First</a> <a href=\"index"+"_" + prevPage + "."+"html\" class='fy'>Previous</a> "); else if(countPage>1&¤tPage!=0&¤tPage==1) document.write("<a href=\"index.html\" class='fy'>First</a> <a href=\"index.html\" class='fy'>Previous</a> "); else document.write("First Previous "); //循环 var num = 5; for(var i=0+(currentPage-1-(currentPage-1)%num) ; i<=(num+(currentPage-1-(currentPage-1)%num))&&(i<countPage) ; i++){ if(currentPage==i) document.write("<span style=\"color:#FF0000;\">"+(i+1)+"</span> "); else if(i==0) document.write("<a href=\"index.html\" class='fy'>"+(i+1)+"</a> "); else document.write("<a href=\"index"+"_" + i + "."+"html\" class='fy'>"+(i+1)+"</a> "); } //设置下一页代码 if(countPage>1&¤tPage!=(countPage-1)) document.write("<a href=\"index"+"_" + nextPage + "."+"html\" class='fy'>Next</a> <a href=\"index_" + (countPage-1) + ".html\" class='fy'>Last</a> "); else document.write("Next Last "); //跳转页面 document.write("<font class='9ptb'> Page <input type='text' id='num' value="+(currentPage+1)+" style='width:30px;font-size:12px;text-align:center;' />"+" <input style='font-size:12px' type='submit' value=' Go ' onClick=javacript:toPage() /></font>"); function toPage(){ var _num = document.getElementById("num").value; if(isNaN(_num)){ alert("Please enter a number"); return false; } var str = "index"+"_"+(_num-1)+"."+"html"; var url = location.href.substring(0,location.href.lastIndexOf("/")+1); if(_num<=1||_num==null) location.href = url+"index"+"."+"html"; else if(_num>countPage) alert("Please enter numbers only "+countPage); else location.href = url+str; } </script> </td> </tr> </table> </body> </html>