内容简介:如何自动更新导航栏?
< html>
< head>
< meta http-equiv="Content-Type" content="text/html; charset=gb2312">
< title>山水盈盈之Content Linking组件应用< /title>
< /head>
< body>
< center>< font color=red>Content Linking组件应用示范< /font>< /center>
< ul>
< %
Set Link=Server.CreateObject("MSWC.NextLink")
lcount=Link.GetListCount("conlink.txt")
' 用GetListCount方法确定在conlink.txt中有多少条超链.
Dim i
For i=1 to lcount
< li>< a href="< % =Link.GetNthURL("conlink.txt", i) %>" >
< %=Link.GetNthDescription("conlink.txt", i) %>< /a>
< % Next %>
' 用GetNthURL、GetNthDescription方法逐一将存储在conlink.txt 文件的URL和文本信息读出并显示给客户端浏览器,循环执行.
< /ul>
< /body>
< /html>
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
JavaScript: The Definitive Guide, 5th Edition
David Flanagan / O'Reilly Media / 2006-08-01 / USD 49.99
This Fifth Edition is completely revised and expanded to cover JavaScript as it is used in today's Web 2.0 applications. This book is both an example-driven programmer's guide and a keep-on-your-desk ......一起来看看 《JavaScript: The Definitive Guide, 5th Edition》 这本书的介绍吧!