July 22, 2017   

CF_Search_NextPrevious
 

CF_Search_NextPrevious v1.10
Version 1.10 Downloads: 1111

Description This tag returns NEXT and PREVIOUS links (useful for search results). But I didn't stop there... You will also get clickable page numbers (google-style).

Out of the box this tag is ready to go and only requires one attribute (an integer telling the tag how many results you have). Then the tag goes to work. However, there are a slew of additional options (attributes) you can use to manipulate the output of the tag. From how many page numbers you'd like displayed to the look and appearance of the output using stylesheets. You even have the option to use preset stylesheets if you like or use your own.

This tag supports XHTML in its output and most whitespace is removed.

Here's a simple example. Lets say your search results returned 30 pages. Currently you are viewing page 9. You've told the tag to only display five page numbers at a time. The result may look something like one of the following:

"« Previous ( 7 8 9 10 11 ) Next »"
"« 1|... 7 8 [9] 10 11 ...|30 »"
Custom Tag Name CF_Search_NextPrevious
Version 1.10
Author
http://www.jeffcoughlin.com/
Post Your Comments View/Post Comments
Online Demo Click here to see a demo
File Size 56KB
Readme readme_Search_NextPrevious_v1.10.txt
Date Updated Sep 13, 2005
Date Created Jul 10, 2002
Minimum ColdFusion Version Required 4.01+