I had a similar issue and ended up solving it by storing the quotes within
text as their HTML entities instead of the standard character.
 

-----Original Message-----
From: daniel kessler [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 07, 2005 8:31 AM
To: CF-Talk
Subject: quotes in quotes

I have a string that I'm adding to an array.  In that string, I have a href
that's calling a js function.  I'm having trouble firguring how to get my
quotes sets to work.  The problem is coming from the quotes around the words
'visible' and 'hidden'.  They need to alternate with the quotes around
bookview, the js function.  I can't make them double-quotes though because
the string being added to the array of yes_ar is surrounded in
double-quotes.  Did I explain this well?

<cfset arrayAppend(yes_ar,"<a onMouseOver='bookview('visible')'
onMouseOut='bookview('hidden')'>Welcome!  Your program benefits from the
fact that a </a><span class='red_link'><strong><a
href='nutshell.cfm##connectors'>connector</a></strong></span> is on ...")>

btw, I'm trying to make hovering over text make an image in another area of
the page appear.  If there's a better way of doing this, I'm all ears.

thanks for the help!



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