scroll_window.asp

来自「默认管理员:etaodu 密码:etaodu 陶都房市++介绍: 」· ASP 代码 · 共 325 行

ASP
325
字号
<!--#include file=../conn/conn1.asp -->
<%
sql="select  * from building where Picture order by id desc"
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,1,1
%>

<HTML><HEAD>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<LINK href="images/realty.css" rel=stylesheet type=text/css>
<META content="Microsoft FrontPage 5.0" name=GENERATOR></HEAD>
<BODY style="text-align: center">
<TABLE border=0 cellPadding=0 cellSpacing=0 width="100%">
  <TBODY>
  <SCRIPT>
  function fc(url){  
  var url;          window.open(url,'_blank','status=no,scrollbars=yes,top=20,left=110,width=600,height=470');  
  }
  </SCRIPT>

  
  <%DO WHILE NOT rs.eof%> 
  <TR>
    <TD align=center vAlign=top width="25%">
      <TABLE border=0 cellPadding=2 cellSpacing=2 width="99%">
        <TBODY>
        <TR>
          <TD align=middle>
          <a href="javascript:fc('../building_list.asp?id=<%=rs("id")%>')">
          <IMG border=0 height=77 
            onmouseout='javascript:parent.frames("code").startscroll();' 
            onmouseover='javascript:parent.frames("code").stopscroll();' 
            src="images/<%=rs("picture")%>" 
        width=130></a></TD></TR>
        <TR>
          <TD class=title1 height=18 width=130><b>
          <a href="javascript:fc('../building_list.asp?id=<%=rs("id")%>')">
          <font color="#800000"><%=rs("name")%></font></a></b></TD></TR>
        <TR>
          <TD class=font height=18><%= left(rs("addr"),14) %></TD></TR></TBODY></TABLE></TD>
          <%rs.movenext %>
    <TD align=center vAlign=top width="25%">
      <TABLE border=0 cellPadding=2 cellSpacing=2 width="99%">
        <TBODY>
        <TR>
          <TD align=middle>
          <a href="javascript:fc('../building_list.asp?id=<%=rs("id")%>')">
          <IMG border=0 height=77 
            onmouseout='javascript:parent.frames("code").startscroll();' 
            onmouseover='javascript:parent.frames("code").stopscroll();' 
            src="images/<%=rs("picture")%>" 
        width=130></a></TD></TR>
        <TR>
          <TD class=title1 height=18 width=130><b>
          <a href="javascript:fc('../building_list.asp?id=<%=rs("id")%>')">
          <font color="#800000"><%=rs("name")%></font></a></b></TD></TR>
        <TR>
          <TD class=font height=18><%= left(rs("addr"),14) %></TD></TR></TBODY></TABLE></TD>
           <%rs.movenext %>
    <TD align=center vAlign=top width="25%">
      <TABLE border=0 cellPadding=2 cellSpacing=2 width="99%">
        <TBODY>
        <TR>
          <TD align=middle>
          <a href="javascript:fc('../building_list.asp?id=<%=rs("id")%>')">
          <IMG border=0 height=77 
            onmouseout='javascript:parent.frames("code").startscroll();' 
            onmouseover='javascript:parent.frames("code").stopscroll();' 
            src="images/<%=rs("picture")%>" 
        width=130></a></TD></TR>
        <TR>
          <TD class=title1 height=18 width=130><b>
          <a href="javascript:fc('../building_list.asp?id=<%=rs("id")%>')">
          <font color="#800000"><%=rs("name")%></font></a></b></TD></TR>
        <TR>
          <TD class=font height=18><%= left(rs("addr"),14) %></TD></TR>
        </TBODY></TABLE></TD>
         <%rs.movenext %>
    <TD align=center vAlign=top width="25%">
      <TABLE border=0 cellPadding=2 cellSpacing=2 width="99%">
        <TBODY>
        <TR>
          <TD align=middle>
          <a href="javascript:fc('../building_list.asp?id=<%=rs("id")%>')">
          <IMG border=0 height=77 
            onmouseout='javascript:parent.frames("code").startscroll();' 
            onmouseover='javascript:parent.frames("code").stopscroll();' 
            src="images/<%=rs("picture")%>" 
        width=130></a></TD></TR>
        <TR>
          <TD class=title1 height=18 width=130><b>
          <a href="javascript:fc('../building_list.asp?id=<%=rs("id")%>')">
          <font color="#800000"><%=rs("name")%></font></a></b></TD></TR>
        <TR>
          <TD class=font height=18><%= left(rs("addr"),14) %></TD></TR></TBODY></TABLE></TD>
           <%rs.movenext %>
    <TD align=center vAlign=top width="25%">
      <TABLE border=0 cellPadding=2 cellSpacing=2 width="99%">
        <TBODY>
        <TR>
          <TD align=middle>
          <a href="javascript:fc('../building_list.asp?id=<%=rs("id")%>')">
          <IMG border=0 height=77 
            onmouseout='javascript:parent.frames("code").startscroll();' 
            onmouseover='javascript:parent.frames("code").stopscroll();' 
            src="images/<%=rs("picture")%>" 
        width=130></a></TD></TR>
        <TR>
          <TD class=title1 height=18 width=130><b>
          <a href="javascript:fc('../building_list.asp?id=<%=rs("id")%>')">
          <font color="#800000"><%=rs("name")%></font></a></b></TD></TR>
        <TR>
          <TD class=font height=18><%= left(rs("addr"),14) %></TD></TR>
        </TBODY></TABLE></TD>
         <%rs.movenext %>
    <TD align=center vAlign=top width="25%">
      <TABLE border=0 cellPadding=2 cellSpacing=2 width="99%">
        <TBODY>
        <TR>
          <TD align=middle>
          <a href="javascript:fc('../building_list.asp?id=<%=rs("id")%>')">
          <IMG border=0 height=77 
            onmouseout='javascript:parent.frames("code").startscroll();' 
            onmouseover='javascript:parent.frames("code").stopscroll();' 
            src="images/<%=rs("picture")%>" 
        width=130></a></TD></TR>
        <TR>
          <TD class=title1 height=18 width=130><b>
          <a href="javascript:fc('../building_list.asp?id=<%=rs("id")%>')">
          <font color="#800000"><%=rs("name")%></font></a></b></TD></TR>
        <TR>
          <TD class=font height=18><%= left(rs("addr"),14) %></TD></TR></TBODY></TABLE></TD>
           <%rs.movenext %>
    <TD align=center vAlign=top width="25%">
      <TABLE border=0 cellPadding=2 cellSpacing=2 width="99%">
        <TBODY>
        <TR>
          <TD align=middle>
          <a href="javascript:fc('../building_list.asp?id=<%=rs("id")%>')">
          <IMG border=0 height=77 
            onmouseout='javascript:parent.frames("code").startscroll();' 
            onmouseover='javascript:parent.frames("code").stopscroll();' 
            src="images/<%=rs("picture")%>" 
        width=130></a></TD></TR>
        <TR>
          <TD class=title1 height=18 width=130><b>
          <a href="javascript:fc('../building_list.asp?id=<%=rs("id")%>')">
          <font color="#800000"><%=rs("name")%></font></a></b></TD></TR>
        <TR>
          <TD class=font height=18><%= left(rs("addr"),14) %></TD></TR></TBODY></TABLE></TD>
           <%rs.movenext %>
    <TD align=center vAlign=top width="25%">
      <TABLE border=0 cellPadding=2 cellSpacing=2 width="99%">
        <TBODY>
        <TR>
          <TD align=middle>
          <a href="javascript:fc('../building_list.asp?id=<%=rs("id")%>')">
          <IMG border=0 height=77 
            onmouseout='javascript:parent.frames("code").startscroll();' 
            onmouseover='javascript:parent.frames("code").stopscroll();' 
            src="images/<%=rs("picture")%>" 
        width=130></a></TD></TR>
        <TR>
          <TD class=title1 height=18 width=130><b>
          <a href="javascript:fc('../building_list.asp?id=<%=rs("id")%>')">
          <font color="#800000"><%=rs("name")%></font></a></b></TD></TR>
        <TR>
          <TD class=font height=18><%= left(rs("addr"),14) %></TD></TR></TBODY></TABLE></TD>
           <%rs.movenext %>
    <TD align=center vAlign=top width="25%">
      <TABLE border=0 cellPadding=2 cellSpacing=2 width="99%">
        <TBODY>
        <TR>
          <TD align=middle>
          <a href="javascript:fc('../building_list.asp?id=<%=rs("id")%>')">
          <IMG border=0 height=77 
            onmouseout='javascript:parent.frames("code").startscroll();' 
            onmouseover='javascript:parent.frames("code").stopscroll();' 
            src="images/<%=rs("picture")%>" 
        width=130></a></TD></TR>
        <TR>
          <TD class=title1 height=18 width=130><b>
          <a href="javascript:fc('../building_list.asp?id=<%=rs("id")%>')">
          <font color="#800000"><%=rs("name")%></font></a></b></TD></TR>
        <TR>
          <TD class=font height=18><%= left(rs("addr"),14) %></TD></TR></TBODY></TABLE></TD>
           <%rs.movenext %>
    <TD align=center vAlign=top width="25%">
      <TABLE border=0 cellPadding=2 cellSpacing=2 width="99%">
        <TBODY>
        <TR>
          <TD align=middle>
          <a href="javascript:fc('../building_list.asp?id=<%=rs("id")%>')">
          <IMG border=0 height=77 
            onmouseout='javascript:parent.frames("code").startscroll();' 
            onmouseover='javascript:parent.frames("code").stopscroll();' 
            src="images/<%=rs("picture")%>" 
        width=130></a></TD></TR>
        <TR>
          <TD class=title1 height=18 width=130><b>
          <a href="javascript:fc('../building_list.asp?id=<%=rs("id")%>')">
          <font color="#800000"><%=rs("name")%></font></a></b></TD></TR>
        <TR>
          <TD class=font height=18><%= left(rs("addr"),14) %></TD></TR></TBODY></TABLE></TD>
           <%rs.movenext %>
    <TD align=center vAlign=top width="25%">
      <TABLE border=0 cellPadding=2 cellSpacing=2 width="99%">
        <TBODY>
        <TR>
          <TD align=middle>
          <a href="javascript:fc('../building_list.asp?id=<%=rs("id")%>')">
          <IMG border=0 height=77 
            onmouseout='javascript:parent.frames("code").startscroll();' 
            onmouseover='javascript:parent.frames("code").stopscroll();' 
            src="images/<%=rs("picture")%>" 
        width=130></a></TD></TR>
        <TR>
          <TD class=title1 height=18 width=130><b>
          <a href="javascript:fc('../building_list.asp?id=<%=rs("id")%>')">
          <font color="#800000"><%=rs("name")%></font></a></b></TD></TR>
        <TR>
          <TD class=font height=18><%= left(rs("addr"),14) %></TD></TR></TBODY></TABLE></TD>
           <%rs.movenext %>
    <TD align=center vAlign=top width="25%">
      <TABLE border=0 cellPadding=2 cellSpacing=2 width="99%">
        <TBODY>
        <TR>
          <TD align=middle>
          <a href="javascript:fc('../building_list.asp?id=<%=rs("id")%>')">
          <IMG border=0 height=77 
            onmouseout='javascript:parent.frames("code").startscroll();' 
            onmouseover='javascript:parent.frames("code").stopscroll();' 
            src="images/<%=rs("picture")%>" 
        width=130></a></TD></TR>
        <TR>
          <TD class=title1 height=18 width=130><b>
          <a href="javascript:fc('../building_list.asp?id=<%=rs("id")%>')">
          <font color="#800000"><%=rs("name")%></font></a></b></TD></TR>
        <TR>
          <TD class=font height=18><%= left(rs("addr"),14) %></TD></TR></TBODY></TABLE></TD>
           <%rs.movenext %>
    <TD align=center vAlign=top width="25%">
      <TABLE border=0 cellPadding=2 cellSpacing=2 width="99%">
        <TBODY>
        <TR>
          <TD align=middle>
          <a href="javascript:fc('../building_list.asp?id=<%=rs("id")%>')">
          <IMG border=0 height=77 
            onmouseout='javascript:parent.frames("code").startscroll();' 
            onmouseover='javascript:parent.frames("code").stopscroll();' 
            src="images/<%=rs("picture")%>" 
        width=130></a></TD></TR>
        <TR>
          <TD class=title1 height=18 width=130><b>
          <a href="javascript:fc('../building_list.asp?id=<%=rs("id")%>')">
          <font color="#800000"><%=rs("name")%></font></a></b></TD></TR>
        <TR>
          <TD class=font height=18><%= left(rs("addr"),14) %></TD></TR>
        </TBODY></TABLE></TD>
         <%rs.movenext %>
    <TD align=center vAlign=top width="25%">
      <TABLE border=0 cellPadding=2 cellSpacing=2 width="99%">
        <TBODY>
        <TR>
          <TD align=middle>
          <a href="javascript:fc('../building_list.asp?id=<%=rs("id")%>')">
          <IMG border=0 height=77 
            onmouseout='javascript:parent.frames("code").startscroll();' 
            onmouseover='javascript:parent.frames("code").stopscroll();' 
            src="images/<%=rs("picture")%>" 
        width=130></a></TD></TR>
        <TR>
          <TD class=title1 height=18 width=130><b>
          <a href="javascript:fc('../building_list.asp?id=<%=rs("id")%>')">
          <font color="#800000"><%=rs("name")%></font></a></b></TD></TR>
        <TR>
          <TD class=font height=18><%= left(rs("addr"),14) %></TD></TR></TBODY></TABLE></TD>
           <%rs.movenext %>
    <TD align=center vAlign=top width="25%">
      <TABLE border=0 cellPadding=2 cellSpacing=2 width="99%">
        <TBODY>
        <TR>
          <TD align=middle>
          <a href="javascript:fc('../building_list.asp?id=<%=rs("id")%>')">
          <IMG border=0 height=77 
            onmouseout='javascript:parent.frames("code").startscroll();' 
            onmouseover='javascript:parent.frames("code").stopscroll();' 
            src="images/<%=rs("picture")%>" 
        width=130></a></TD></TR>
        <TR>
          <TD class=title1 height=18 width=130><b>
          <a href="javascript:fc('../building_list.asp?id=<%=rs("id")%>')">
          <font color="#800000"><%=rs("name")%></font></a></b></TD></TR>
        <TR>
          <TD class=font height=18><%= left(rs("addr"),14) %></TD></TR></TBODY></TABLE></TD>
           <%rs.movenext %>
    <TD align=center vAlign=top width="25%">
      <TABLE border=0 cellPadding=2 cellSpacing=2 width="99%">
        <TBODY>
        <TR>
          <TD align=middle>
          <a href="javascript:fc('../building_list.asp?id=<%=rs("id")%>')">
          <IMG border=0 height=77 
            onmouseout='javascript:parent.frames("code").startscroll();' 
            onmouseover='javascript:parent.frames("code").stopscroll();' 
            src="images/<%=rs("picture")%>" 
        width=130></a></TD></TR>
        <TR>
          <TD class=title1 height=18 width=130><b>
          <a href="javascript:fc('../building_list.asp?id=<%=rs("id")%>')">
          <font color="#800000"><%=rs("name")%></font></a></b></TD></TR>
        <TR>
          <TD class=font 
height=18><%= left(rs("addr"),14) %></TD></TR></TBODY></TABLE></TD></TR>
 <% y=y+16
        if y>=MaxPic then exit do
        rszs.movenext     
        loop     
        rszs.close     
        set rszs=nothing    
       %>



</TBODY></TABLE></BODY></HTML>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?