如何自动更新导航栏?

栏目: 编程语言 · 发布时间: 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>
   


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

查看所有标签

猜你喜欢:

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

Two Scoops of Django

Two Scoops of Django

Daniel Greenfeld、Audrey M. Roy / CreateSpace Independent Publishing Platform / 2013-4-16 / USD 29.95

Two Scoops of Django: Best Practices For Django 1.5 is chock-full of material that will help you with your Django projects. We'll introduce you to various tips, tricks, patterns, code snippets, and......一起来看看 《Two Scoops of Django》 这本书的介绍吧!

RGB转16进制工具
RGB转16进制工具

RGB HEX 互转工具

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换