Sun
ONE Active Server Pages Product Home Page Developer Site Version
 

ContentsPreviousNextIndex



Example: ASP Content Linking Component GetNextURL Method

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 need to update the list in the 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>


ContentsPreviousNextIndex