📄 moviegoldtop.asp
字号:
<!--#include file="../inc/conn.asp"-->
<html>
<head>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../inc/zt2004.css" rel="stylesheet" type="text/css">
<title>零度白茶电影推荐!</title>
<SCRIPT language=JavaScript>
var x = 0;
var y = 0;
var limdex = 1650;
var dest = 0;
var distance = 0;
var step = 0;
var destination = 0;
var on = true;
function scrollit(destination)
{
step = 2;
dest = destination;
if (x<dest & x < limdex)
{ while (x<dest)
{
step += (step / 7);
x += step;
parent.frames[1].scroll(x,0);
}
top.main.scroll(dest,0);
if(dest <=limdex)
{ parent.frames[0].scroll(dest,0); }
x = dest;
}
if (x > dest)
{
while (x>dest)
{
step += (step / 7);
if(x >= (0+step))
{ x -= step; parent.frames[1].scroll(x,0); }
else break;
}
if(dest >= 0)
{ parent.frames[1].scroll(dest,0); }
x = dest;
}
if (x<1) { parent.frames[1].scroll(1,0); x=1 }
if (x>limdex) { parent.frames[1].scroll(limdex,0); x=limdex }
x = dest;
}
function scrollnow()
{
if (on){
if (x < limdex & x >= 0 )
{
parent.frames[1].scroll(x,0);
x = x + 1;
setTimeout('scrollnow()', 8);
} else if (x < 0)
{
x = limdex;
scrollnow();
}
else {
x=0;
scrollnow();
}
}
}
function stopscroll()
{
if (on){
on = false;
}
else {
on = true;
scrollnow();
}
}
function startscroll()
{ on = true; scrollnow(); }
function stop_start() {
if (on){ on = false;}else
{ on = true;scrollnow();}
}
scrollnow();
</SCRIPT>
</head>
<body topmargin="0" leftmargin="0" bgcolor="#EFEFEF" link="#000000">
<table border="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#FFFFFF" width="27" id="AutoNumber3" cellspacing="0">
<TR vAlign=top>
<%
dim sql
dim rs
set rs=server.createobject("adodb.recordset")
rs.open "select * from learning where best=1 order by articleid desc",conn,1,1
b=1
do while not rs.eof
%>
<TD align="center">
<a href="MovieView.asp?MovieViewID=<%=rs("articleid")%>" target="_blank">
<IMG onmouseover=javascript:parent.frames[1].stopscroll(); style="BORDER-LEFT-COLOR: #000000; BORDER-BOTTOM-COLOR: #000000; BORDER-TOP-STYLE: solid; BORDER-TOP-COLOR: #000000; BORDER-RIGHT-STYLE: solid; BORDER-LEFT-STYLE: solid; BORDER-RIGHT-COLOR: #000000; BORDER-BOTTOM-STYLE: solid " onmouseout=javascript:parent.frames[1].startscroll(); height=143 alt="<%=rs("title")%>" src="<%if rs("domurl")="" then%>../images/movie.jpg<%else%><%=rs("domurl")%><%end if%>" width=104></a><br>
<A class=left onmouseover=javascript:parent.frames[1].stopscroll(); title="<%=rs("title")%>" onmouseout=javascript:parent.frames[1].startscroll(); href="MovieView.asp?MovieViewID=<%=rs("articleid")%>" target="_parent" style="color:black">
<%
content=rs("title")
if len(content)>7 then
content=left(content,7)&"…"
end if
response.write content
%></A>
</TD>
<%
b=b+1
if b=23 then exit do '一行显示的推荐电影数
rs.movenext
loop
rs.close
set rs=nothing
%>
</TR>
</TABLE>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -