addedValueMacros.nextIndexValueLink
Syntax
{addedValueMacros.nextIndexValueLink(whatText, variableID, flIncreasing=true, flSameValueOnly=true, whatTarget=nil, anchor=nil, class=nil, title=nil, accesskey=nil, hreflang=nil, tabindex=nil, onmouseOver="", onmouseOut="", onClick="")}
- whatText - a string which will be the text of the link.
- variableID - the name of an addedValues indexed variable.
- flIncreasing - optional, true if the link is to the next highest indexed value, false for the next lowest.
- flSameValueOnly - optional, true if we look only for index entries with the same value of variableID as the current page.
- whatTarget - optional, value of the target attribute for the link.
- anchor - optional, value of the anchor attribute for the link.
- class - optional, value of the class attribute for the link.
- title - optional, value of the title attribute for the link.
- accessKey - optional, value of the accesskey attribute for the link.
- hrefLang - optional, value of the hreflang attribute for the link.
- tabindex - optional, value of the tabindex attribute for the link.
- onmouseOver - optional, value of the onmouseOver attribute for the link.
- onmouseOut - optional, value of the onmouseOut attribute for the link.
- onClick - optional, value of the onClick attribute for the link.
Examples
| {addedValueMacros.nextIndexValueLink("Next", "price")} |
Semantics
nextIndexValueLink returns a link to a message whose message number is determined by its order in a table sorted by the value of an addedValues indexed variable. If any of the optional parameters whatTarget, anchor, title, title, accessKey, hrefLang, tabindex, onmouseOver, onmouseOut, onClick are present they are used to build the link.
;
Error encountered are reported as HTML comments with an explanatory text, use view source in your browser to see them; such as
<!-- value not in index --<
See also