手机站
网通分站
电信主站
密 码:
用户名:
当前位置 : 主页>网络编程>Asp编程>列表

页面输出太多会严重影响web程序的性能

来源:互联网 作者:west263.com 时间:2008-02-23
西部数码-全国虚拟主机10强!40余项虚拟主机管理功能,全国领先!双线多线虚拟主机南北访问畅通无阻!免费赠送企业邮局,.CN域名,自助建站480元起,免费试用7天,满意再付款! P4主机租用799元/月.月付免压金!

&oOP=<%=oOP%>&oKey=<%=FilterParam4(oKey)%>
&page_size=<%=tPageSize%><%=add_Option%>';
}
catch(e) {
window.status=e.description
return false;
}
}
< /script>
<font color="#008080" size="2">当前<font color=ff0000>
<%=tCurPage%></font>页 共<font color=ff0000>
<%=tpagecount%></font>页&nbsp;&nbsp;&nbsp;
<br><% if tTotalCount>0 then
for i=1 to tPagecount
%><span onclick='mP(<%=i%>)'><%=i%></span>
<% if browserSize=1 then
if i=20 or i=36 then response.write "&nbsp;"
end if
if i=fCou then
exit for
end if
response.write ""
next
dim allStr

if tpagecount>fCou then
showPageCount=tpagecount
if showPageCount>260 then showPageCount=260
for i=fCou 1 to showPageCount

if browserSize=0 then
m=(i=74 or i=107 or (i>107 and ((i-107) mod 27)=0))
else
m=(i=94 or i=130 or (i>130 and ((i-130) mod 35)=0))
end if
allStr=allStr & "<span onclick='mP(" & i & ")'>" & i & "</span>"
if not m then allStr=allStr & "&nbsp;"
if m then allStr=allStr & "<br>"
if browserSize=1 then
if i=58 or i=71 then allStr=allStr & "&nbsp;"
end if
if i=106 then allStr=allStr & "&nbsp;"
next
allStr=allStr & "&nbsp;&nbsp;转至 第<input id=""sPageNo""
class=""line"" maxlength=""5""
size=""6"">页&nbsp;<span onclick='mP(document.getElementById(""sPageNo"").value)'>GO</span>"%><a href="#" title="显示更多…"
id=seemore onclick="var t=document.all.morePage;
var s=document.all.seemore;if (t.style.display=='none')
{t.style.display='';s.innerHTML='<font color=ff0000>∧
</font>';s.title='多余隐藏'};else {t.style.display='none';
s.innerHTML='<font color=ff0000>∨
</font>';s.title='显示更多…'}"><font color=ff0000>∨</font></a>
<span id=morePage style="display:none"><%=allStr%></span>
<%end if
end if
%> </font>

文章整理:西部数码--专业提供域名注册虚拟主机服务
http://www.west263.com
以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢!