http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/funct116.htm

 <cfoutput>#HTMLCodeFormat(form.homeText)#</cfoutput>

Should probably do it.


Joshua Cyr
Savvy Software
866.870.6358
www.besavvy.com

-----Original Message-----
From: Jake Churchill [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 24, 2007 2:01 PM
To: CF-Talk
Subject: Re: FCKEditor woes

Here's the HTML. The editor is basically to allow the client to create their
own pages in certain circumstances so I can't change any of this. 
It'll have to be dynamically manipulated on the server.

<SPAN style="COLOR: #ff3300; FONT-FAMILY: Arial"> <P style="MARGIN: 0in 0in
0pt"><SPAN><STRONG><EM><FONT face=arial size=2></FONT><FONT face=arial
size=2></FONT><FONT face=arial size=2></FONT><FONT face=arial
size=2></FONT><FONT face=arial size=2></FONT><FONT face=arial
size=2></FONT><FONT face=arial size=2></FONT><FONT face=arial
size=2></FONT><FONT face=arial size=2></FONT><FONT face=arial
size=2></FONT><FONT face=arial size=2></FONT><FONT face=arial
size=2></FONT><FONT face=arial size=2></FONT><FONT face=arial
size=2></FONT><FONT face=arial size=2></FONT><FONT face=arial
size=2></FONT><FONT face=arial size=2></FONT><FONT face=arial
size=2></FONT><FONT face=arial size=2></FONT><FONT face=arial
size=2></FONT><FONT face=arial size=2></FONT><FONT face=arial
size=2></FONT><FONT face=arial size=2></FONT><FONT face=arial
size=2></FONT><FONT face=arial size=2></FONT><FONT face=arial
size=2></FONT><FONT face=arial size=2></FONT><FONT face=arial
size=2></FONT><FONT face=arial size=2></FONT><FONT face=arial
size=2></FONT><FONT face=arial size=2></FONT><FONT face=arial
size=2></FONT><FONT face=arial size=2></FONT><FONT face=arial
size=2></FONT><FONT face=arial size=2></FONT><FONT face=arial
size=2></FONT><BR><FONT size=4>Welcome to Complete Music and Complete Video
of <?xml:namespace prefix = st1 ns =
"urn:schemas-microsoft-com:office:smarttags" /><st1:State
w:st="on"><st1:place
w:st="on">Kansas</st1:place></st1:State>!</FONT></EM><BR></STRONG></SPAN><SP
AN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial"><BR>I would like
to personally thank you for visiting our website. We are proud to be the
largest and most requested DJ Entertainment Service in <st1:State
w:st="on"><st1:place w:st="on">Kansas</st1:place></st1:State>.<SPAN
style="mso-spacerun: yes"> </SPAN>This is a direct result of the high
quality service we give to each of our customers.<SPAN
style="mso-spacerun: yes"> </SPAN>In addition to our planning information,
my full-time staff is available and dedicated to helping you plan your
event. Complete Music has the most experience in the industry and we can
offer unique suggestions to personalize your event. 
We promise to commit to you as much professional planning time as you need
to help you create lifelong memories. We promise to get to know you, your
personality, style, and expectations, and we will give you an event with the
atmosphere you desire. </SPAN><SPAN style="FONT-SIZE: 
8pt; COLOR: black; FONT-FAMILY: Arial"><SPAN style="mso-spacerun: 
yes"><FONT size=2> </FONT><EM><FONT size=1>-</FONT></EM><A class="" 
href="mailto:[EMAIL PROTECTED]" 
target=""><EM><FONT color=#ff0000 size=1>Mark Kuecker, Franchise
Owner</FONT></EM></A><BR><FONT size=2><BR></FONT></SPAN></SPAN></P>
<P style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: center" 
align=center><SPAN><STRONG><FONT color=#000000><EM>"Our DJ's Make the
Difference!"<SUP><FONT size=1>
TM</FONT></SUP></EM></FONT></STRONG></SPAN></P>
<P style="MARGIN: 0in 0in 0pt"><BR><BR><SPAN><STRONG><EM>Complete Music
services all events!</EM><BR></STRONG><SPAN style="COLOR: 
#333333"><BR><FONT size=2>We perform at more wedding receptions than any
other DJ service.<SPAN style="mso-spacerun: yes"> </SPAN>We also are highly
requested for school dances, company parties, anniversaries, reunions and
many other private events. Our size and diversity allow us to perform for
any type of function with the absolute best in disc jockey talent.<SPAN
style="mso-spacerun: yes"> </SPAN>We employ over forty experienced
professional entertainers, from high-energy to easy-going personalities, who
are all held to the strictest of standards of professionalism as well as
training.</FONT></SPAN></SPAN><SPAN
style="COLOR: #333333"><?xml:namespace prefix = o ns =
"urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P> <P
style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 10pt; COLOR: 
#333333; FONT-FAMILY: Arial"><o:p><BR> </o:p></SPAN></P> <P style="MARGIN:
0in 0in 0pt"><SPAN style="FONT-SIZE: 10pt; COLOR: 
#333333; FONT-FAMILY: Arial"><o:p><STRONG><FONT color=#ff0033><EM><FONT
color=#ff3300 size=3>We can capture those memories forever with Complete
Video!<BR></FONT></EM></FONT></STRONG><FONT color=#000000><BR>Our
professional videographers will digitally record your ceremony and
reception, as well as interview your guests. Then our professional editing
team will create a custom DVD for your family to cherish forever. Call today
to set a <EM>"no obligation"</EM> appointment to view our product and to
customize a package for your wedding budget. 
Don't forget to ask about our exclusive <STRONG><EM>Memory
Scrapbook</EM></STRONG> which can be viewed at your reception on our
projector and big screen. <EM>Visit our video site at </EM><A
href="http://www.CompleteVideoKansas.com";><FONT
color=#ff0000><EM>www.CompleteVideoKansas.com</EM></FONT></A><EM>
</EM></FONT><BR><BR> </o:p></SPAN></P>
<P class=MsoBodyText style="MARGIN: 0in 0in 0pt"><SPAN><STRONG><EM>Wedding
Facts</EM><BR
style="mso-special-character: line-break"><BR
style="mso-special-character: line-break"><U><SPAN style="COLOR: 
black"><o:p></o:p></SPAN></U></STRONG></SPAN></P>
<P class=MsoBodyText style="MARGIN: 0in 0in 0pt"><SPAN><FONT size=2><FONT
color=#000000>The facts are that 81% of reception guests say that
<EM>entertainment is what they remember most</EM> about a wedding, and 72%
of brides say they should have spent more time choosing their reception
entertainment. More brides trust Complete Music for their wedding reception;
we are the right entertainment choice!<SPAN
style="mso-spacerun: yes"> </SPAN></FONT></FONT><EM><FONT color=#000000
size=1>-Source: Simmons, 2001; <st1:place w:st="on"><st1:country-region
w:st="on">USA</st1:country-region></st1:place> Today, 2002; National Bridal
Service, 2001; The Knot, 2002; Brides Magazine, 2001.</FONT>
</EM></SPAN><SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 
Arial"><o:p></o:p></SPAN></P>
<P style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 10pt; COLOR: 
#333333; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></P> <P style="MARGIN: 0in
0in 0pt"><SPAN style="FONT-SIZE: 10pt; COLOR: 
#333333; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></P> <P style="MARGIN: 0in
0in 0pt"><SPAN><STRONG><EM>Getting Started with Complete Music is
Easy!</EM><BR></STRONG></SPAN><SPAN style="FONT-SIZE: 
10pt; COLOR: black; FONT-FAMILY: Arial; mso-fareast-font-family: 'Times New
Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US;
mso-bidi-language: AR-SA"><BR>If you are ready for Compete Music to make
your event a success, or would like more information, feel free to visit our
<FONT color=#ff0000><A class="" 
href="http://www.completemusickansas.com/contact.cfm"; target=""><FONT
color=#ff0000>contact page</FONT></A></FONT> or call us.<SPAN
style="mso-spacerun: yes"> </SPAN>We have local staff in <st1:City
w:st="on">Lawrence</st1:City>, <st1:City w:st="on">Topeka</st1:City>,
<st1:City w:st="on">Manhattan</st1:City>, <st1:City
w:st="on">Emporia</st1:City>, <st1:City w:st="on">Salina</st1:City>,
<st1:City w:st="on"><st1:place w:st="on">Great Bend,</st1:place></st1:City>
and Hays. Our full-time staff will be honored to help you plan an event that
will create memories for a lifetime.</SPAN></SPAN><SPAN style="FONT-SIZE:
10pt; COLOR: black;
FONT-FAMILY: Arial; mso-fareast-font-family: 'Times New Roman';
mso-ansi-language: EN-US; mso-fareast-language: EN-US;
mso-bidi-language: AR-SA"><BR><BR><BR></P><STRONG><SPAN
style="FONT-SIZE: 10pt; COLOR: #ff3300; FONT-FAMILY: Arial"> <P
style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: center" 
align=center><STRONG><SPAN style="FONT-SIZE: 10pt; COLOR: #ff3300;
FONT-FAMILY: Arial"><EM><U>National Recognition and
Awards</U></EM></SPAN></STRONG><SPAN style="FONT-SIZE: 10pt; COLOR: 
#ff6600; FONT-FAMILY: Arial"><BR></SPAN><STRONG><SPAN style="FONT-SIZE: 
8pt; COLOR: black; FONT-FAMILY: Arial"><BR>Complete Music's National
Franchise of the Year</SPAN></STRONG><STRONG><SPAN style="FONT-WEIGHT: 
normal; FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: Arial;
mso-bidi-font-weight: bold"><o:p></o:p></SPAN></STRONG></P>
<P style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: center" 
align=center><STRONG><SPAN style="FONT-WEIGHT: normal; FONT-SIZE: 8pt;
COLOR: black; FONT-FAMILY: Arial; mso-bidi-font-weight: bold">2000-2001 &
2002-2003<o:p></o:p></SPAN></STRONG></P>
<P style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: center" align=center><SPAN
style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: Arial;
mso-bidi-font-weight: bold"><BR><STRONG><SPAN style="FONT-FAMILY: 
Arial">Outstanding Franchise of the
Year<o:p></o:p></SPAN></STRONG></SPAN></P>
<P style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: center" 
align=center><STRONG><SPAN style="FONT-WEIGHT: normal; FONT-SIZE: 8pt;
COLOR: black; FONT-FAMILY: Arial; mso-bidi-font-weight: bold"><SPAN
style="mso-spacerun: yes"> </SPAN>1999-2000, & 2001-2002, & 2003-2004, &
2004-2005</SPAN></STRONG><SPAN style="FONT-SIZE: 8pt; COLOR: black;
FONT-FAMILY: Arial; mso-bidi-font-weight: bold"><BR
style="mso-special-character: line-break"><BR
style="mso-special-character: line-break"><o:p></o:p></SPAN></P>
<P style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: center" 
align=center><STRONG><SPAN style="FONT-SIZE: 8pt; COLOR: black;
FONT-FAMILY: Arial">CM Smile Franchise
Recipient<o:p></o:p></SPAN></STRONG></P>
<P style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: center" 
align=center><STRONG><SPAN style="FONT-WEIGHT: normal; FONT-SIZE: 8pt;
COLOR: black; FONT-FAMILY: Arial; mso-fareast-font-family: 'Times New
Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US;
mso-bidi-language: AR-SA; mso-bidi-font-weight: 
bold">2005</SPAN></STRONG></SPAN></STRONG></P></SPAN>

Dave Phillips wrote:
> Jake,
>
> Can you post the html that is in your form.hometext variable?  My 
> guess is that you have a double quote in there somewhere that is 
> ending your string, and hence, the JS thinks that is the end of that 
> variable, so then it's looking for a closing parenthesis and isn't 
> finding it immediately, and therefore reporting an error.
>
> Check your HTML code and if you have any double quotes in it, make 
> sure that you use the &quot; entity reference value instead of the 
> actual " and that might fix it.
>
> Other than that, not sure what it might be.  Let us know how it turns out.
> And hey, tell Mark Kruger that Dave Phillips said hello from Texas. :)
>
> Dave
>
> -----Original Message-----
> From: Jake Churchill [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, January 24, 2007 12:46 PM
> To: CF-Talk
> Subject: FCKEditor woes
>
>
> I am replacing soEditor with FCKEditor on a site and ran into an issue 
> that I'm hoping someone out there can help with.
>
> In the soEditor was this line:   html="#form.homeText#" which passed a 
> bunch of HTML to the editor as it's default value.  I'm having trouble 
> doing the same with the FCKEditor because it's javascript-based.  I 
> create the editor object like this:  var oFCKeditor = new 
> FCKeditor('editHome', 550, 600, 'CompleteMusic', 'test' ) ; which 
> works fine with 'test' but when I try to pass form.homeText, it throws 
> errors about missing an ending ) and unterminated string literal.
>
> I get the ) error when I use this call:  var oFCKeditor = new 
> FCKeditor('editHome', 550, 600, 'CompleteMusic',
> "<cfoutput>#form.homeText#</cfoutput>") ; and I get the unterminated 
> string literal error when I do this:  var oFCKeditor = new 
> FCKeditor('editHome', 550, 600, 'CompleteMusic', 
> '<cfoutput>#form.homeText#</cfoutput>' ) ;
>
> Is there a way around this?  The only other thing I can think to do is 
> re-write part of fckeditor.js to NOT write the output and then split 
> up the output to write it manually in my .cfm file.  I really don't 
> want to do that.
>
> Any ideas?
>
> Thanks in advance.
>
>   

--
Jake Churchill
CF Webtools
11204 Davenport, Ste. 200b
Omaha, NE  68154
http://www.cfwebtools.com
402-408-3733 x103





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7 
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs 
http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267528
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to