The MDLib Javascript code I have written is still pretty much in the beta phase. It has some pretty good features which anyone can take advantage of right now, but I also intend on adding more; especially with respect to the MDMenuLib library. Some of the features I have implemented include a DOM library, the afore mentioned menu library, as well as support for namespaces and events, and delegates in an event library. Of course Javascript doesn't have things like delegates and namespaces, and it's support for events (without using code like YUI or what I've written here) is pretty much limited to pre-existing objects. Javascript does, however, have a very flexible framework that allows one to mimic these things. Below is the code, online documentation, and some tutorials.

MDLib Source Code (22.3 KB)

Copyright MonroeDavis.com