selene bainum has sample code for this. http://www.webtricks.com/sourcecode/code.cfm?CodeID=7
On 4/6/07, Steve LaBadie <[EMAIL PROTECTED]> wrote: > I am trying to have this navigation disappear if total rows are less > than 25, not having much luck with logic. I can make them disappear, but > not for the right reasons. I have tried <cfif URL.ShowAll LT 25, GTE > 25; I also tried using the RowsPerPage variable with not the right > results either. Books never seem to have the examples that you are > looking for. Any direction would be helpful (websites, books, etc.). > > > > I have to areas that need to be controlled: > > <cfif NOT URL.ShowAll><cfinclude > template="NextNIncludeBackNext.cfm"></cfif> > > > > > > <cfif NOT URL.ShowAll AND TotalRows GT RowsPerPage> > > <!--- Shortcut links for "Pages" of search results ---> > > Page <cfinclude template="NextNIncludePageLinks.cfm"> > > <!--- Show All Link ---> > > <cfoutput> > > <a href="#CGI.SCRIPT_NAME#?ShowAll=Yes">Show All</a> > > </cfoutput> > > </cfif> > > > > Steve LaBadie, Web Manager > East Stroudsburg University > 200 Prospect St. > East Stroudsburg, Pa 18301 > 570-422-3999 > [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > http://www.esu.edu <http://www3.esu.edu> > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade & see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:274712 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

