(Sorry, the previous one went without the attachments.)

Stefano,


Talking about first DHTML experiences and learning from
other guys scripts (in my case editthispage.com) here is 
a small HTML editor I have been playing with.

Unlike yours it is form oriented, but it has some other 
features - more formatting and 2 editing modes (WYSIWYG 
and source). Maybe you can use some code from it. I sure
can use some code from yours.

You just have to replace "$saveURL" in:
    <form method="post" action="$saveURL" ...
with the URL to which you want to post the resulting 
HTML and it SHOULD work.

I made this sample simpler by stripping out a load of 
stuff. I tested some editing but did not test posting.
That is why I say that it "SHOULD" work... if I did not
strip out too much code or something like that.


Have fun,
Paulo Gaspar
Title: HTML Editor
Html Editor
Paragraph... ">Normal <P> ">Heading 1 <H1> ">Heading 2 <H2> ">Heading 3 <H3> ">Heading 4 <H4> ">Heading 5 <H5> ">Heading 6 <H6> ">Pre <PRE> Clear Formatting Font... Arial Verdana Time Courier Size...1234567 Color... Color... black darkslategray red maroon lightpink purple blue darkblue teal skyblue green seagreen olive orange darkgoldenrod gray

Attachment: htmleditor.gif
Description: GIF image

Attachment: htmleditor.js
Description: JavaScript source

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to