📄 show_book.asp
字号:
<!--#include file="conn.asp"-->
<%id=request.querystring("id")
set reco=server.createobject("adodb.recordset")
sqlstr="select * from book where id="&id
reco.open sqlstr,conn,1,1
%>
<html>
<head>
<title><%=reco("title")%>-[双击滚屏 单击停止]</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="images/css.css" type="text/css">
</head>
<body topmargin="0" leftmargin="0" bgcolor="#FFFFFF">
<a name="top"></a>
<script language"javascript">
var currentpos,timer;
function initialize()
{
timer=setInterval("scrollwindow()",40);
}
function sc(){
clearInterval(timer);
}
function scrollwindow()
{
currentpos=document.body.scrollTop;
window.scroll(0,++currentpos);
if (currentpos != document.body.scrollTop)
sc();
}
document.onmousedown=sc
document.ondblclick=initialize
</script>
<table cellpadding="0" cellspacing="0" width="400" align="center" height="300">
<tr>
<td bgcolor="#EDDEA0" height="4" colspan="2"></td>
</tr>
<tr>
<td bgcolor="#fffff" height="2" colspan="2"></td>
</tr>
<tr>
<td bgcolor="#EDDEA0" height="1" colspan="2"></td>
</tr>
<tr>
<td bgcolor="#FBF7E6" height="40" align="center" colspan="2"><a href="#" onClick="javascript:initialize()"><span class="font_11"><%=reco("title")%></span></a></td>
</tr>
<tr>
<td valign="top" colspan="2">
<table width="380" cellspacing="0" cellpadding="0" align="center">
<tr>
<td height="20" align=right> <a href="#" onClick="javascript:initialize()"><img src=images/xia.gif border="0" alt=向下滚屏,单击停止,双击继续...></a></td>
</tr>
<tr>
<td width="100%"> <span class="duanluo"><%=reco("body")%></span></td>
</tr>
<tr>
<td height="20"> </td>
</tr>
</table>
</td>
</tr>
<tr>
<td bgcolor="#ffffff" height="72" width="128"><img src="images/new_bg.gif" width="128" height="72"></td>
<td bgcolor="#ffffff" width="272">
<table width="253" cellspacing="0" cellpadding="0" align="center" height="19">
<tr>
<td align="right"><%=reco("riqi")%> <a href="#top"><img src=images/shang.gif border="0" alt=回到顶部></a></td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -