Static page anchor point problem should not have any problems, today encountered a Dynamic Data display page Anchor point problem, research a bit, take out and share with you.
The anchor point is "top" and can be placed anywhere on the page, usually at the head of the page. The red part of the program is the key, is to anchor the appearance of the judge, I set the number is 4, meaning that there are 4 dynamic data on the occurrence of an anchor point, less than 4 when the same page, there is no need for anchor point, this value can be modified according to the actual situation. In order to beautify the page, you can replace the anchor point text with a graphic replacement of top to .
<a name= "Top" ></a>
...... (Specific content omitted)
<%
while (repeat2__numrows <> 0) and (not RSP. EOF))
%>
...... (Specific content omitted)
<%
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
%>