Not with JavaScript or JS.

I think you can do it with client side ADO on IE win.

But if you want a cross-browser/cross platform solution then 
client-side Java or Flash 5 appear to be the choices.

Java has it's own set of limitations and incompatibilities.  In this 
case the main one is that client-side Java and JavaScript cannot 
communicate on any but NN browsers.

So, unless you are willing to code the entire client-side as a Java 
applet, you're SOL,

At Dave Watts suggestion, I have been playing with a trial version of 
Flash 5 for handling forms & textareas...  I haven;t gotten very far, 
but it appears that you can implement a WYSIWYG text area with 
different fonts, colors styles, etc... yes, and insertion at the 
cursor.

One of the very neatest things with Flash 5, is that you can pass 
data back to a form as name/value pairs (as in a URL).

This means that the screen never goes blank ond only the form content 
need change (much less bandwidth).

HTH

Dick

At 3:24 PM -0500 1/4/01, Mike Amburn wrote:
>let's say i'm building an HTML editor. i have a textarea that includes
>the HTML and i have buttons that do things like insert functions. to
>date, i have just been adding the function to the value of the textarea.
>is there any way to insert the functions wherever the cursor is put? for
>example, can i click in the middle of the textarea and have "<hr>"
>inserted right there instead of at the end?
>
>

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

Reply via email to