Steve McMillen wrote:

Is there any way to write DHTML scripts that can be run from Composer. Similar to Front Page's ability to create macros that can edit the html contents. Their language support the HTML DOM so you can go in and find and modify almost any HTML element.

For example, I want to write a script that finds all heading tags (<h1>, <h2>, etc) and prepends the text within the tag with a sequential number (e.g. 1.x is inserted in <h1>, 1.x.x is inserted into <h2> ,etc)

The macros would have to be stored in a global list so they could be applied to any page opened in composer.

Thoughts?

Yes, that's clearly something I want to do. Composer won't offer you the interface to write the script though. It will only offer to apply a script to the page.

</Daniel>
_______________________________________________
mozilla-editor mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-editor

Reply via email to