Search Search

#1 worldwide
FREE Coding Lessons

since 1996
   THE BEST WAY to learn ASP & Asp.net!
Advertise Here!
click for details
Credits Host:
DiscountASP.net
Server Admin:
The "Team"
Contact Info.
Charles M. Carroll

my Blog
[prev. Lesson]  XML/XLST Myers-Briggs example
     [next Lesson]  Content Linker: Table of Contents

Content Linking Prev/Next

   filename=/learn/test/cl.asp

<Test Script Below>


<%
Set NL = Server.CreateObject ("MSWC.NextLink") 
tocname="/learn/learn.txt"
nextref=NL.GetNextURL(tocname)
nextdes=NL.GetNextDescription(tocname)
If (NL.GetListIndex (tocname)>1) Then
    prevref=NL.GetPreviousURL(tocname)
    prevdes=NL.GetPreviousDescription(tocname)
%>
    Prev:<a href="<%=prevref%>"><%=prevdes%></a>&nbsp;&nbsp;Next:
<% End If %> 
<a href="<%=nextref%>"><%=nextdes%></a>

There are many worthy charities!!. But perhaps help starving children in Africa or South America AND help Charles too. a $5 tip buys him lunch at McDonalds, a $20 tip buys his kid Hitoshi a new computer game, a $39 tip buys his daughter Michiko a few nice outfits. See our donor list.