Easily make interactive links with link components

Source: Internet
Author: User
<title> Testing </title>
<BODY>
<% set Myobj=server.createobject ("Mswc.nextlink")%> ' Create Content linking component
<table border=1>
<%j=0
For I=1 to Myobj.getlistcount ("list.txt") ' Get number of links in file Urllist.txt
Url1=myobj.getnthurl ("List.txt", i) ' Get a hyperlink
Explain=myobj.getnthdescription ("List.txt", i) ' Get text description
Below I control the display in the form

If J MoD 3=0 then
Response.Write "<tr><td width= ' ><div align= ' center ' >"
Else
Response.Write "<td width= ' ><div align= ' center ' >"
End If
%>
<a href=rtsp://172.16.0.1/<% =URL1%> >
<% Response.Write Explain%> </A>
<%
J=j + 1
If J MoD 3=0 then
Response.Write "</td></tr>"
Else
Response.Write "</td>"
End If
Next

%>
<tr>
</table>
</body>
Description: List.txt inside the file format is: The Front for the link address, followed by the description, link URL address and the description is separated by the Tab key. If you have a lot of files, you can use Dir * >>list.txt to get all the paths and file names, and then open them in Word, and then use the ALT key to make the column selections.

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.