欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

ASP 關(guān)于動(dòng)態(tài)數(shù)據(jù)顯示頁面得錨點(diǎn)

 更新時(shí)間:2007年09月01日 19:08:22   作者:  

錨點(diǎn)是“top”,可以放在頁面的任何位置,一般是頁首。程序紅色部分是關(guān)鍵,就是對(duì)錨點(diǎn)出現(xiàn)的判斷,我設(shè)置的數(shù)值是4,意思是出現(xiàn)4個(gè)動(dòng)態(tài)數(shù)據(jù)就出現(xiàn)一個(gè)錨點(diǎn),少于4個(gè)時(shí)因?yàn)檫€在同一個(gè)頁面,就不需要有錨點(diǎn)出現(xiàn),這個(gè)數(shù)值可以根據(jù)實(shí)際情況進(jìn)行修改。為了對(duì)頁面進(jìn)行進(jìn)行美化,可以把錨點(diǎn)的文字用圖形替換把top替換成<img src=top.gif>

 

<a name="top"></a>

…...(具體內(nèi)容省略)

<%

While ((Repeat2__numRows <> 0) AND (NOT rsp.EOF))

%>

…...(具體內(nèi)容省略)

<%

  Repeat2__index=Repeat2__index+1

  Repeat2__numRows=Repeat2__numRows-1

  if Repeat2__numRows < 4 then

  Response.Write("<table width=400 border=0 cellpadding=0 cellspacing=1><tr><td align=right><a href=#top>top</a></td></tr></table>")

  else

  Response.Write("<table width=400 border=0 cellpadding=0 cellspacing=1><tr><td align=right>a</td></tr></table>")

  end if 

  rsp.MoveNext()

Wend

%>



相關(guān)文章

最新評(píng)論