Previous PageNext Page

10.5.1 Method Details

10.5.1.1 GetListCount

The GetListCount method retrieves the total number of Web pages listed in the Content Linking List file.
 

    Arguments

        listURL

        The location of the Content Linking List file.

    Return Values

      This method returns an integer.

10.5.1.2 GetListIndex

The GetListIndex method retrieves the index number of the current item in the Content Linking List file.
 

    Arguments

        listURL

        The location of the Content Linking List file.

    Return Values

      The GetListIndex method returns an integer index value specifying the current page's position on the file list. The index number of the first item is 1. The method returns 0 if the current page is not in the Content Linking List file.

10.5.1.3 GetNextDescription

The GetNextDescription method retrieves the text description of the next item in the Content Linking List file.
 

    Arguments

        listURL

        The location of the Content Linking List file.

    Return Values

      The GetNextDescription method returns an ASCII string describing the next item in the Content Linking List file. If the current page is not found in the list file, GetNextDescription returns the string description of the last page on the list.

10.5.1.4 GetNextURL

The GetNextURL method retrieves the URL of the next item in the Content Linking List file.
 

    Arguments

        listURL

        The location of the Content Linking List file.

    Return Values

      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.

    Example:

      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>

10.5.1.5 GetNthDescription

The GetNthDescription method retrieves a text description of the Nth item in the Content Linking List file.

    Arguments

        listURL

        The location of the Content Linking List file.

        index

        The index number of an item in the Content Linking List file

    Return Values

      This method returns a string.

10.5.1.6 GetNthURL

The GetNthURL method returns the URL of the Nth item in the Content Linking List file.
 

    Arguments

        listURL

        The location of the Content Linking List file.

        index

        The index number of an item in the Content Linking List file

    Return Values

      This method returns a string.

10.5.1.7 GetPreviousDescription

The GetPreviousDescription method retrieves a text description of the previous item in the Content Linking List file.
 

    Arguments

        listURL

        The location of the Content Linking List file.

    Return Values

      This method returns a string describing either the previous item in the Content Linking List file or, if the current page is not in the file, the first item on the list.

10.5.1.8 GetPreviousURL

The GetPreviousURL method returns the URL of the previous item in the Content Linking List file.
 

    Arguments

        listURL

        The location of the Content Linking List file.

    Return Values

      This method returns a string containing the URL of the previous item in the Content Linking List file. If the current page is not specified in the Content Linking List file, GetPreviousURL returns the URL of the first page in the file.


Copyright © 2000 Chili!Soft

Previous PageTop Of PageNext Page