RenderProductLink - Solution Sites Routine

This function prepares the HTML that will render a link to the product specified by the parameters, using the specified FONT element attributes for the link text style.

Definition

Function RenderProductLink(
  sCatalogName,
  sProductCategory,
  sProductName,
  sProductID,
  style)

Parameters

  • sCatalogName
    A string that specifies the name of the catalog in which the product appears, used to construct the URL for the link.
  • sProductCategory
    A string that specifies the name of the category in which the product appears, used to construct the URL for the link.
  • sProductName
    A string that specifies the name of the product, used for the hot text of the link.
  • sProductID
    A string that specifies the product ID, used to construct the URL for the link.
  • style
    A string that contains attributes appropriate for the FONT element, used when rendering the hot text of the link.

Return Value

A string containing the HTML that will render the constructed product link.

Defined in File

include\catalog.asp

Routines Called

RenderLink

RenderProductURL

RenderText

Called By

htmRenderProductsTable

RenderSearchResultRow

ShowSearchMatches

Copyright © 2005 Microsoft Corporation.
All rights reserved.