4W WebMerge Tag Reference


[WM-LinkNext] Link Label [/WM-LinkNext]

[WM-LinkNext]Go to Next Record[/WM-LinkNext]

This tag is used only in detail templates.

The HTML between [WM-LinkNext] and [/WM-LinkNext] is replaced with a link to the page generated from the next record in the export file.

If the current page is being generated from the last record, the text between the opening and closing tags is not written to the generated page.

Used in conjunction with WM-LinkFirst, WM-LinkNext, and WM-LinkLast you can easily build page-to-page navigation into your detail pages.

All navigation tags allow you to include attributes in the tag which will be included in the generated link. For example, to specify a target in a navigation tag you'd write:

   [WM-LinkNext: target="_blank"]Next Page[/WM-LinkNext]

...which would generate:

   <a href="page002.html" target="_blank">Next Page</a>

Introduced in version 2.0.
Version 2.2 introduced support for link attributes.