RE: Gmail highlighting

2005-03-14 Thread Calvin Ward
This is good, but I would do the following instead:

In the CSS put...
..searchHighlight {background-color: #00}

In the HTML...
You can span class=searchHighlighthighlight/span text within search
results.

The reason is that there should only be one instance of an ID in an html
document and the name of your CSS class should be semantic instead of
specific so that when the client asks you to highlight in green, you can
change your class attributes and everything will still make sense!

- Calvin

-Original Message-
From: Brook Davies [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 11, 2005 1:09 PM
To: CF-Talk
Subject: Re: Gmail highlighting

Wrap the search result word in the span tag shown below

in the CSS put...
#yellow {background-color: #00}

in the HTML...
you can SPAN id=yellowhighlight/SPANtext within search results.

Brook

At 10:00 AM 3/11/2005, you wrote:
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:198637
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


Re: Gmail highlighting

2005-03-14 Thread Adam Haskell
Exactly what I was begining to type :) We're going through a lot of
un-needed code revisions to undo that which should not have been done.
Everything is an ID in our CSS and it is realy really messed up.

Adam H


On Mon, 14 Mar 2005 08:38:45 -0500, Calvin Ward [EMAIL PROTECTED] wrote:
 This is good, but I would do the following instead:
 
 In the CSS put...
 ..searchHighlight {background-color: #00}
 
 In the HTML...
 You can span class=searchHighlighthighlight/span text within search
 results.
 
 The reason is that there should only be one instance of an ID in an html
 document and the name of your CSS class should be semantic instead of
 specific so that when the client asks you to highlight in green, you can
 change your class attributes and everything will still make sense!
 
 - Calvin
 
 -Original Message-
 From: Brook Davies [mailto:[EMAIL PROTECTED]
 Sent: Friday, March 11, 2005 1:09 PM
 To: CF-Talk
 Subject: Re: Gmail highlighting
 
 Wrap the search result word in the span tag shown below
 
 in the CSS put...
 #yellow {background-color: #00}
 
 in the HTML...
 you can SPAN id=yellowhighlight/SPANtext within search results.
 
 Brook
 
 At 10:00 AM 3/11/2005, you wrote:
 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?
 
 
 
 
 
 
 

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

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


RE: Gmail highlighting

2005-03-14 Thread Micha Schopman
When taking a semantic approach, I would consider using strong for
highlighting. Not span.

Micha Schopman
Project Manager

Modern Media, Databankweg 12 M, 3821 AL  Amersfoort
Tel 033-4535377, Fax 033-4535388
KvK Amersfoort 39081679, Rabo 39.48.05.380



-
Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren
de interactie met uw doelgroep. 
Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer
informatie zie www.modernmedia.nl 


-

-

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

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


RE: Gmail highlighting

2005-03-14 Thread Calvin Ward
Hmm, would em be more appropriate in that context?

- Calvin 

-Original Message-
From: Micha Schopman [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 14, 2005 9:37 AM
To: CF-Talk
Subject: RE: Gmail highlighting

When taking a semantic approach, I would consider using strong for
highlighting. Not span.

Micha Schopman
Project Manager

Modern Media, Databankweg 12 M, 3821 AL  Amersfoort
Tel 033-4535377, Fax 033-4535388
KvK Amersfoort 39081679, Rabo 39.48.05.380



-
Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren
de interactie met uw doelgroep. 
Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer
informatie zie www.modernmedia.nl 


-

-



~|
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:198650
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


RE: Gmail highlighting

2005-03-14 Thread Micha Schopman
At first I would say yes, EM would be a good candidate, however I would
reserve EM for larger code blocks. Like a note, a warning, etc.

This part states you might better use strong for it. But honestly, I
wouldn't care while both have their semantics in letting content stand
out. 

Thus, it would be logical to define that em emphasizes the enclosed
text with respect to the text in the enclosing element and should be
rendered in a manner that reflects this; whereas strong (renamed to e.g.
key or highlight, if we give up continuity, as planned for XHTML 2.0)
would indicate its content as key word or phrase in the context of the
entire document, to appear as highlighted when possible, and to gain
special weight in indexing.



Micha Schopman
Project Manager

Modern Media, Databankweg 12 M, 3821 AL  Amersfoort
Tel 033-4535377, Fax 033-4535388
KvK Amersfoort 39081679, Rabo 39.48.05.380



-
Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren
de interactie met uw doelgroep. 
Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer
informatie zie www.modernmedia.nl 


-

-Original Message-
From: Calvin Ward [mailto:[EMAIL PROTECTED] 
Sent: maandag 14 maart 2005 16:26
To: CF-Talk
Subject: RE: Gmail highlighting

Hmm, would em be more appropriate in that context?

- Calvin 

-Original Message-
From: Micha Schopman [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 14, 2005 9:37 AM
To: CF-Talk
Subject: RE: Gmail highlighting

When taking a semantic approach, I would consider using strong for
highlighting. Not span.

Micha Schopman
Project Manager

Modern Media, Databankweg 12 M, 3821 AL  Amersfoort
Tel 033-4535377, Fax 033-4535388
KvK Amersfoort 39081679, Rabo 39.48.05.380



-
Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren
de interactie met uw doelgroep. 
Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer
informatie zie www.modernmedia.nl 


-

-





~|
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:198652
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


Re: Gmail highlighting

2005-03-14 Thread Jared Rypka-Hauer - CMG, LLC
So, say, in terms of a wiki... strong would be viable for terms
while em would suffice for meta-information like last-updated-by:

Blah blah blah strongwiki term/strong blah blah blah strongthe
end of the world/strong blah blah blah strongDouglas
Adams/strong

emEntry created by Fred Smith, last updated on March 19, 1963, by
John Anderson/em

In other words, strong would act as a callout and em would be used to
provide details for the entire entry.

Is that the idea?

J


On Mon, 14 Mar 2005 16:33:22 +0100, Micha Schopman
[EMAIL PROTECTED] wrote:
 At first I would say yes, EM would be a good candidate, however I would
 reserve EM for larger code blocks. Like a note, a warning, etc.
 
 This part states you might better use strong for it. But honestly, I
 wouldn't care while both have their semantics in letting content stand
 out.
 
 Thus, it would be logical to define that em emphasizes the enclosed
 text with respect to the text in the enclosing element and should be
 rendered in a manner that reflects this; whereas strong (renamed to e.g.
 key or highlight, if we give up continuity, as planned for XHTML 2.0)
 would indicate its content as key word or phrase in the context of the
 entire document, to appear as highlighted when possible, and to gain
 special weight in indexing.
 
 
 Micha Schopman
 Project Manager
 
 Modern Media, Databankweg 12 M, 3821 AL  Amersfoort
 Tel 033-4535377, Fax 033-4535388
 KvK Amersfoort 39081679, Rabo 39.48.05.380
 
 
 
 -
 Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren
 de interactie met uw doelgroep.
 Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer
 informatie zie www.modernmedia.nl
 
 
 -
 
 -Original Message-
 From: Calvin Ward [mailto:[EMAIL PROTECTED]
 Sent: maandag 14 maart 2005 16:26
 To: CF-Talk
 Subject: RE: Gmail highlighting
 
 Hmm, would em be more appropriate in that context?
 
 - Calvin
 
 -Original Message-
 From: Micha Schopman [mailto:[EMAIL PROTECTED]
 Sent: Monday, March 14, 2005 9:37 AM
 To: CF-Talk
 Subject: RE: Gmail highlighting
 
 When taking a semantic approach, I would consider using strong for
 highlighting. Not span.
 
 Micha Schopman
 Project Manager
 
 Modern Media, Databankweg 12 M, 3821 AL  Amersfoort
 Tel 033-4535377, Fax 033-4535388
 KvK Amersfoort 39081679, Rabo 39.48.05.380
 
 
 
 -
 Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren
 de interactie met uw doelgroep.
 Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer
 informatie zie www.modernmedia.nl
 
 
 -
 
 -
 
 

~|
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:198653
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


RE: Gmail highlighting

2005-03-14 Thread Calvin Ward
So, in that scenario, I would consider the following:

In the CSS put...
#searchResults strong {background-color: #00}

In the HTML...
div id=searchResults
You can stronghighlight/strong text within search results.
/div

This results in less code! Of course you can only have one search results
div using this solution.

- Calvin

-Original Message-
From: Micha Schopman [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 14, 2005 10:33 AM
To: CF-Talk
Subject: RE: Gmail highlighting

At first I would say yes, EM would be a good candidate, however I would
reserve EM for larger code blocks. Like a note, a warning, etc.

This part states you might better use strong for it. But honestly, I
wouldn't care while both have their semantics in letting content stand
out. 

Thus, it would be logical to define that em emphasizes the enclosed
text with respect to the text in the enclosing element and should be
rendered in a manner that reflects this; whereas strong (renamed to e.g.
key or highlight, if we give up continuity, as planned for XHTML 2.0)
would indicate its content as key word or phrase in the context of the
entire document, to appear as highlighted when possible, and to gain
special weight in indexing.



Micha Schopman
Project Manager

Modern Media, Databankweg 12 M, 3821 AL  Amersfoort
Tel 033-4535377, Fax 033-4535388
KvK Amersfoort 39081679, Rabo 39.48.05.380



-
Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren
de interactie met uw doelgroep. 
Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer
informatie zie www.modernmedia.nl 


-

-Original Message-
From: Calvin Ward [mailto:[EMAIL PROTECTED] 
Sent: maandag 14 maart 2005 16:26
To: CF-Talk
Subject: RE: Gmail highlighting

Hmm, would em be more appropriate in that context?

- Calvin 

-Original Message-
From: Micha Schopman [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 14, 2005 9:37 AM
To: CF-Talk
Subject: RE: Gmail highlighting

When taking a semantic approach, I would consider using strong for
highlighting. Not span.

Micha Schopman
Project Manager

Modern Media, Databankweg 12 M, 3821 AL  Amersfoort
Tel 033-4535377, Fax 033-4535388
KvK Amersfoort 39081679, Rabo 39.48.05.380



-
Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren
de interactie met uw doelgroep. 
Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer
informatie zie www.modernmedia.nl 


-

-







~|
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:198654
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


RE: Gmail highlighting

2005-03-14 Thread Micha Schopman
Yes, that is the idea. 

Micha Schopman
Project Manager

Modern Media, Databankweg 12 M, 3821 AL  Amersfoort
Tel 033-4535377, Fax 033-4535388
KvK Amersfoort 39081679, Rabo 39.48.05.380



-
Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren
de interactie met uw doelgroep. 
Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer
informatie zie www.modernmedia.nl 


-

-Original Message-
From: Jared Rypka-Hauer - CMG, LLC [mailto:[EMAIL PROTECTED] 
Sent: maandag 14 maart 2005 16:52
To: CF-Talk
Subject: Re: Gmail highlighting

So, say, in terms of a wiki... strong would be viable for terms
while em would suffice for meta-information like last-updated-by:

Blah blah blah strongwiki term/strong blah blah blah strongthe
end of the world/strong blah blah blah strongDouglas
Adams/strong

emEntry created by Fred Smith, last updated on March 19, 1963, by
John Anderson/em

In other words, strong would act as a callout and em would be used to
provide details for the entire entry.

Is that the idea?

J


On Mon, 14 Mar 2005 16:33:22 +0100, Micha Schopman
[EMAIL PROTECTED] wrote:
 At first I would say yes, EM would be a good candidate, however I
would
 reserve EM for larger code blocks. Like a note, a warning, etc.
 
 This part states you might better use strong for it. But honestly, I
 wouldn't care while both have their semantics in letting content stand
 out.
 
 Thus, it would be logical to define that em emphasizes the enclosed
 text with respect to the text in the enclosing element and should be
 rendered in a manner that reflects this; whereas strong (renamed to
e.g.
 key or highlight, if we give up continuity, as planned for XHTML 2.0)
 would indicate its content as key word or phrase in the context of the
 entire document, to appear as highlighted when possible, and to gain
 special weight in indexing.
 
 
 Micha Schopman
 Project Manager
 
 Modern Media, Databankweg 12 M, 3821 AL  Amersfoort
 Tel 033-4535377, Fax 033-4535388
 KvK Amersfoort 39081679, Rabo 39.48.05.380
 




 -
 Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren
 de interactie met uw doelgroep.
 Wilt u meer omzet, lagere kosten of een beter service niveau? Voor
meer
 informatie zie www.modernmedia.nl




 -
 
 -Original Message-
 From: Calvin Ward [mailto:[EMAIL PROTECTED]
 Sent: maandag 14 maart 2005 16:26
 To: CF-Talk
 Subject: RE: Gmail highlighting
 
 Hmm, would em be more appropriate in that context?
 
 - Calvin
 
 -Original Message-
 From: Micha Schopman [mailto:[EMAIL PROTECTED]
 Sent: Monday, March 14, 2005 9:37 AM
 To: CF-Talk
 Subject: RE: Gmail highlighting
 
 When taking a semantic approach, I would consider using strong for
 highlighting. Not span.
 
 Micha Schopman
 Project Manager
 
 Modern Media, Databankweg 12 M, 3821 AL  Amersfoort
 Tel 033-4535377, Fax 033-4535388
 KvK Amersfoort 39081679, Rabo 39.48.05.380
 




 -
 Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren
 de interactie met uw doelgroep.
 Wilt u meer omzet, lagere kosten of een beter service niveau? Voor
meer
 informatie zie www.modernmedia.nl




 -
 
 -
 
 



~|
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:198656
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


Re: Gmail highlighting

2005-03-14 Thread Barney Boisvert
Unless you make 'searchResults' a class, rather than an ID.  ; )

cheers,
barneyb

On Mon, 14 Mar 2005 10:53:53 -0500, Calvin Ward [EMAIL PROTECTED] wrote:
 So, in that scenario, I would consider the following:
 
 In the CSS put...
 #searchResults strong {background-color: #00}
 
 In the HTML...
 div id=searchResults
 You can stronghighlight/strong text within search results.
 /div
 
 This results in less code! Of course you can only have one search results
 div using this solution.
 
 - Calvin
 
 -Original Message-
 From: Micha Schopman [mailto:[EMAIL PROTECTED]
 Sent: Monday, March 14, 2005 10:33 AM
 To: CF-Talk
 Subject: RE: Gmail highlighting
 
 At first I would say yes, EM would be a good candidate, however I would
 reserve EM for larger code blocks. Like a note, a warning, etc.
 
 This part states you might better use strong for it. But honestly, I
 wouldn't care while both have their semantics in letting content stand
 out.
 
 Thus, it would be logical to define that em emphasizes the enclosed
 text with respect to the text in the enclosing element and should be
 rendered in a manner that reflects this; whereas strong (renamed to e.g.
 key or highlight, if we give up continuity, as planned for XHTML 2.0)
 would indicate its content as key word or phrase in the context of the
 entire document, to appear as highlighted when possible, and to gain
 special weight in indexing.
 
 Micha Schopman
 Project Manager
 
 Modern Media, Databankweg 12 M, 3821 AL  Amersfoort
 Tel 033-4535377, Fax 033-4535388
 KvK Amersfoort 39081679, Rabo 39.48.05.380
 
 
 
 -
 Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren
 de interactie met uw doelgroep.
 Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer
 informatie zie www.modernmedia.nl
 
 
 -
 
 -Original Message-
 From: Calvin Ward [mailto:[EMAIL PROTECTED]
 Sent: maandag 14 maart 2005 16:26
 To: CF-Talk
 Subject: RE: Gmail highlighting
 
 Hmm, would em be more appropriate in that context?
 
 - Calvin
 
 -Original Message-
 From: Micha Schopman [mailto:[EMAIL PROTECTED]
 Sent: Monday, March 14, 2005 9:37 AM
 To: CF-Talk
 Subject: RE: Gmail highlighting
 
 When taking a semantic approach, I would consider using strong for
 highlighting. Not span.
 
 Micha Schopman
 Project Manager
 
 Modern Media, Databankweg 12 M, 3821 AL  Amersfoort
 Tel 033-4535377, Fax 033-4535388
 KvK Amersfoort 39081679, Rabo 39.48.05.380
 
 
 
 -
 Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren
 de interactie met uw doelgroep.
 Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer
 informatie zie www.modernmedia.nl
 
 
 -
 
 -
 
 

~|
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:198732
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


Re: Gmail highlighting

2005-03-13 Thread Jehiah Czebotar
 Has anyone come up with an effective way to highlight a search term in a
 result set using Cold Fusion?


cf_highlight should work for you.

http://www.cfdev.com/products/productdetail.cfm/id/1018

-- 
[EMAIL PROTECTED]

~|
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:198596
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


Gmail highlighting

2005-03-11 Thread Les Irvin
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?




~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

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


Re: Gmail highlighting

2005-03-11 Thread Brook Davies
Wrap the search result word in the span tag shown below

in the CSS put...
#yellow {background-color: #00}

in the HTML...
you can SPAN id=yellowhighlight/SPANtext within search results.

Brook

At 10:00 AM 3/11/2005, you wrote:
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:198434
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


RE: Gmail highlighting

2005-03-11 Thread Connie DeCinko
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


RE: Gmail highlighting

2005-03-11 Thread Connie DeCinko
This CFDJ article discusses another method:
http://www.sys-con.com/story/?storyid=42092DE=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