<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>changePage</title>
</head>
<body topmargin=0>
<script language="javascript" type="text/javascript">
function piror(number)
{
var o=parent.RightFrame;
var url=o.location.href;//得到现在显示的页面路径
document.write (url)
var s=url.split("/")[url.split("/").length-1].split(".")[0].split("_")[1];//得到去掉100_后的页面名称,例如0611;
if(s.charAt(0)=="0")
var s1="0"+(parseInt(s.replace(/^0/i,""))-number);
else
var s1=(parseInt(s)-number);
var file='pages/100_'+s1+'.htm';
o.location=file
var objFSO=new ActiveXObject("Scripting.FileSystemObject");
if(objFSO.FileExists(file))
o.location=file;
else
alert('文件不存在!')
}
function next( number)
{
var o=parent.RightFrame;
var url=o.location.href;//得到现在显示的页面路径
var s=url.split("/")[url.split("/").length-1].split(".")[0].split("_")[1];//得到去掉100_后的页面名称,例如0611;
if(s.charAt(0)=="0")
var s1="0"+(parseInt(s.replace(/^0/i,""))+number);
else
var s1=(parseInt(s)+number);
var file='pages/100_'+s1+'.htm';
o.location=file
var objFSO=new ActiveXObject("Scripting.FileSystemObject");
if(objFSO.FileExists(file))
o.location=file;
else
alert('文件不存在!')
}
</script>
<table width="100%" border="1" cellpadding="0" cellspacing="0" bordercolor="#9999FF">
<tr>
<td width="15%" align=Center><a href="#" onClick="javascript:piror(1);" >上一页 </a></td>
<td width="15%" align=Center><a href="#" onClick="javascript:piror(2);" >上跳2页</a></td>
<td width="15%" align=Center><a href="#" onClick="javascript:piror(3);" >上跳3页</a></td>
<td width="15%" align=Center><a href="#" onclick="javascript:next(3);" >下跳3页</a></td>
<td width="15%" align=Center><a href="#" onclick="javascript:next(2);" >下跳2页</a></td>
<td width="15%" align=Center><a href="#" onclick="javascript:next(1);" >下一页 </a></td>
</tr>
</table>
</body>
</html>
回复Comments
作者:
{commentrecontent}