This CFDJ article discusses another method:
http://www.sys-con.com/story/?storyid=42092&DE=1

Yellow Highlights of Search Listing Results
After getting the above indexing working, highlighting the search results in
yellow is actually the easy part. By performing a ReplaceNoCase on the
search results for the searched-for phrase (we do this on both title and
summary information, but that's up to you) and replacing that phrase with
one wrapped with a standard HTML <font style="background-color:
yellow;"></font> call (remember the "all" parameter on ReplaceNoCase!), you
have effectively highlighted the search phrase in your results. 
 

-----Original Message-----
From: Les Irvin [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 11, 2005 11:01 AM
To: CF-Talk
Subject: Gmail highlighting

Those with Gmail will notice the interesting "turn on/off highlighting"
feature after doing a text search of the mail.

Has anyone come up with an effective way to highlight a search term in a
result set using Cold Fusion?






~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:198442
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to