发新话题
打印

请教asp高手

请教asp高手

这是我首页的asp代码,以table读取各版块的asp,这样使网页加载很慢,应该什么改才可以让
各个模块同时加载,使得网页读取加快呢,本人对asp刚接触不久,希望高手能指点下,谢谢

<!--#include file="conn.asp"-->
<!--#include file="config.asp"-->
<title><%=webname%>--首 页</title>
<!--#include file="include/header.asp"-->
<TABLE WIDTH=780 BORDER=0 CELLSPACING=0 CELLPADDING=0 ALIGN=center  class=table-you>
<tr>
  <td valign=top width=171 ><!-- #include file="login.asp"--></td>
  <td valign=top><!--#include file="include/newscast.asp"--></td>
  <td align=center  valign=top width=170><!-- #include file="include/notice.asp"--></td>
</tr>
</table>
<TABLE WIDTH=780 BORDER=0 CELLSPACING=0 CELLPADDING=0 ALIGN=center  class=table-you>
<tr>
  <td valign=top>
    <TABLE WIDTH=170 BORDER=0 CELLSPACING=0 CELLPADDING=0>
        <TR>
          <TD valign=top width=170><!--#include file="include/pronav.asp"--></TD>
        </TR>
  <TR>
          <TD valign=top width=170><!--#include file="include/marks.asp"--></TD>
        </TR>
     <TR>
          <TD valign=top  width=170><!--#include file="include/10new.asp"--></TD>
        </TR>
    </TABLE>
      </td>
       <td valign=top align=left >
        <TABLE  height=1 cellSpacing=0 cellPadding=0 width="100%" border=0>
        <tr>
          <td ><!-- #include file="include/8new.asp"--></td>
        </tr>
  </TABLE>
  </td>
</tr>
</table>
<TABLE WIDTH=780 BORDER=0 CELLSPACING=0 CELLPADDING=0 ALIGN=center >
<tr>
<td >
   <object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" WIDTH=780 height="100">
              <param name="movie" value="<% = bigpic %>">
              <param name="quality" value="high">
              <param name="wmode" value="transparent">
              <embed src="<% = bigpic %>" WIDTH="780" height="100" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent">
              </embed>
            </object>
</td>
</tr>
</table>
<!--#include file="include/footer.asp"-->
<%if qqon= 1 then%>
<script language="javascript" type="text/javascript" src="jqqonline/qq.asp"></script>
<% else %><% End IF %>

TOP

用table的时候,要等全部table内的数据都载入了才显示出来,你可以改成多个并列的table或者换用div。
临渊羡鱼。。不如退而上网。。

TOP

我是要重新做个首页,还是直接在上面代码改呢
我对asp 不是很懂喔  什么并列table

TOP

发新话题