CFMX7 has these attributes of the CFSearch tag:

ContextHighlightBegin
 Specifies the HTML tag to prepend to the search term within the returned
documents. This attribute must be used in conjunction with
ContextHighlightEnd to highlight the resulting search terms. The default
HTML tag is <b>, which highlights search terms using bold type.
 
ContextHighlightEnd
 Specifies the HTML tag to append to the search term within the returned
documents.
  

-----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?






~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198441
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

Reply via email to