The GetNextURL method returns the URL of the next item in the Content Linking List file.
GetNextURL(listURL)
listURL
The location of the Content Linking List file.
This method returns the URL of the next page specified in the Content Linking List file. If the current page is not specified in the Content Linking List file, GetNextURL returns the URL of the last page on the list.
The following example uses the GetNextURL method to embed a link to the next page in the Content Linking List file. The advantage of using GetNextURL is that when you change the order or number of the content pages, you only have to update the list in Content Linking List file and do not need to update the navigational links on each page.
<% Set NextLink = Server.CreateObject ("MSWC.NextLink") %>
<A HREF="<%= NextLink.GetNextURL ("/data/nextlink.txt") %>">Next Page </A>
GetPreviousURL, GetNthURL, GetNextDescription
© Microsoft Corporation. All rights reserved.
file: /Techref/language/asp/comp/compref_20.htm, 1KB, , updated: 1996/11/21 18:01, local time: 2024/11/5 11:54,
18.118.166.106:LOG IN ©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://linistepper.com/Techref/language/asp/comp/compref_20.htm"> GetNextURL</A> |
Did you find what you needed? |