Just append a url variable containing the search term to the link that opens the next page so know what word(s) to highlight.
Eg... <a href="http://link.to/my.doc?searchterm=#urlencodedformat(form.searchterm)#"> link to page</a> ..:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -----Original Message----- From: Tony [mailto:[EMAIL PROTECTED] Sent: Friday, October 07, 2005 12:36 PM To: CF-Talk Subject: Re: Highlighting a Search Term i find it quite easy to just do this: #replaceNoCase(getEntries.username,form.searchTerm,'<span style="background:##ffffdd">#capFirst(form.searchTerm)#</span>','all')# basically just replacing the content of the value form.searchterm, in the display with the value and a pale yellow background. tw On 10/7/05, Matt Robertson <[EMAIL PROTECTED]> wrote: > check out cflib.org. Someone has written something that does that. > > -- > --mattRobertson-- > Janitor, MSB Web Systems > mysecretbase.com > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220483 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

