After reading matts post, I forgot to add the need to a known product list
or something of that sort?

-----Original Message-----
From: William H Bowen [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 3:45 PM
To: [EMAIL PROTECTED]
Subject: [CFCDev] creating a cfc to format text


well, in the infinite wisdom of Senior MarComm managers I have been 
assigned the following tasks:

"write code that automatically highlights (with bold/italic formatting) 
all of our product names"

easy enough sez I, so I modified a UDF I found at cflib.org, no problems...

now, sez they, "add an ™ or ® depending on product line."

again, easy enough. Transfered it all to cfc on our external site, works
like a charm.

now here comes the tricky part...

sez they, "bold/italic or bold by product line, ™ and ® only on
the first instance of a product in body copy;

so:

<body copy start>
1st instance <b>e-terra</b><i>assetmanager</i>(tm)
2nd instance <b>e-terra</b><i>assetmanager</i>  --  no (tm)
1st instance <b>e-terra</b><i>marketmanager</i>(tm)
1st instance <b>BiTRONICS</b>(r)
2nd instance <b>BiTRONICS</b> -- no (r)

and so on..."

Is this possible? If so, how? do I need to check for the first instance of
each productname?

-- 

will

----

William H Bowen
Marketing Communications Manager
ALSTOM EAI Corporation


----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' 
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' 
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

Reply via email to