> Instead I downloaded a custom tag called HTML_area available
> from allaires
> site. It is a WYSIWYG HTML thing, essentially instead of
> using text area
> you can use this to offer your users awhole range of
> formating options. Try
> out the freeware version Html_Area_lite.
Darren,
Whilst I agree that HTML_area (and the other browser HTML editing
components) are good, the ones I have seen tie you in to using a) a PC and
b) Internet Explorer. If this is cool for you and your clients and all is
well.
Otherwise your options to format text in a textarea are:
a) only format CR/LF combos to replace them with HTML breaks or paras
b) insist on your clients learning HTML and typing that into the <textarea>
(nasty)
c) invent your own friendly markup language (like many forums do eg
[URL][/URL] and replace them with the HTML equivalents.
d) insist on your clients using an offline HTML editor such as Dreamweaver,
uploading the file (either through the browser or FTP) and you either
<CFINCLUDE> it or assign the file contents to a variable with <CFFILE> - the
latter giving you more control as you can strip out unnecessary
tags/comments/data before outputting the results.
-------------------------------------------------------
Rich Wild
Senior Web Designer
-------------------------------------------------------
e-mango.com ltd Tel: 01202 587 400
Lansdowne Place Fax: 01202 587 401
17 Holdenhurst Road
Bournemouth Mailto:[EMAIL PROTECTED]
BH8 8EW, UK http://www.e-mango.com
-------------------------------------------------------
This message may contain information which is legally
privileged and/or confidential. If you are not the
intended recipient, you are hereby notified that any
unauthorised disclosure, copying, distribution or use
of this information is strictly prohibited. Such
notification notwithstanding, any comments, opinions,
information or conclusions expressed in this message
are those of the originator, not of e-mango.com ltd,
unless otherwise explicitly and independently indicated
by an authorised representative of e-mango.com ltd.
-------------------------------------------------------
> -----Original Message-----
> From: Darren Adams [mailto:[EMAIL PROTECTED]]
> Sent: 25 April 2001 09:47
> To: CF-Talk
> Subject: RE: OT : format textarea text
>
>
> I had the same problem.
>
> I wrote a little javascript app to insert a <br> tag on a
> key press but
> then I realised how silly this was.
>
> Instead I downloaded a custom tag called HTML_area available
> from allaires
> site. It is a WYSIWYG HTML thing, essentially instead of
> using text area
> you can use this to offer your users awhole range of
> formating options. Try
> out the freeware version Html_Area_lite.
>
> Darren Adams
> Web Developer
> Marketing Department
> Systems Union
>
> Office:01252 55 6220
> Mobile: 07714 817 038
> Email: [EMAIL PROTECTED]
>
>
> -----Original Message-----
> From: Mak Wing Lok [mailto:[EMAIL PROTECTED]]
> Sent: 25 April 2001 09:37
> To: CF-Talk
> Subject: OT : format textarea text
>
>
> sorry for the OT, but i do read the solution for the problem
> here before
> how can i format the text field i submitted by <textarea>?
> espcially on how
> can i detect the <enter> where user type on the <textarea>?
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists