如何自动更新导航栏?

栏目: 编程语言 · 发布时间: 7年前

内容简介:如何自动更新导航栏?

< 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 %>

' GetNthURLGetNthDescription方法逐一将存储在conlink.txt 文件的URL和文本信息读出并显示给客户端浏览器,循环执行.
    < /ul>
    < /body>
    < /html>
   


以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

Haskell

Haskell

Simon Thompson / Addison-Wesley / 1999-3-16 / GBP 40.99

The second edition of Haskell: The Craft of Functional Programming is essential reading for beginners to functional programming and newcomers to the Haskell programming language. The emphasis is on th......一起来看看 《Haskell》 这本书的介绍吧!

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码

HEX CMYK 转换工具
HEX CMYK 转换工具

HEX CMYK 互转工具

HEX HSV 转换工具
HEX HSV 转换工具

HEX HSV 互换工具