ASP about Dynamic Data Display page Anchor point _ Application Tips

Source: Internet
Author: User

anchor is" top< Span Times New Roman '; Mso-hansi-font-family: ' Times Roman ' ">" can be placed anywhere on the page, usually the top of the page. The red part of the program is the key, is the anchor point of the judge, I set the value is 4 , meaning that appears 4 Dynamic Data shows an anchor point less than 4 Since the same page, there is no need for anchor points to appear, This value can be modified according to the actual situation. In order to beautify the page, you can replace the text of the anchor point with a graphic to top

<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

%>



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.