>Double up on the double quotes inside the string in CF.
I doubled up the quotes and it worked great. Hope I remember that one.
Thanks all for the answers! As usual everyone was a great help.
><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 ...")>
>
>Ade
>
>-----Original Message-----
>From: daniel kessler [mailto:[EMAIL PROTECTED]
>Sent: 07 March 2005 15:31
>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!
>--
>No virus found in this outgoing message.
>Checked by AVG Anti-Virus.
>Version: 7.0.308 / Virus Database: 266.6.2 - Release Date: 04/03/2005
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:197733
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