Ok, I added appendChild and insertBefore to Body.prototype,
and hence to every body object that you might create, though in general
a web page should only make one.
See startwindow.js for how it is done.
Also did the same for Head, and this allows mouse.com
to run almost without trouble, until it runs into
ActiveXObject, but that's another kettle of fish, isn't it?

I next want to add children to nodes as I create parent links,
but that means I need to call appendChild from DOM,
which is conceptually easy except my api only has plain function calls
with no arguments, so I need to add to my api
the ability to call a javascript function with one arg, or two args,
or maybe a vararg wrapper that covers all these cases.
So that is a foundational step I need to make in the api
before I can do any more dom development.

Karl Dahlke
_______________________________________________
Edbrowse-dev mailing list
[email protected]
http://lists.the-brannons.com/mailman/listinfo/edbrowse-dev

Reply via email to