I've made a small, but important, update to my "PanelManager" component which abstracts most common DHTML activities. The component (and, as always, full documentation and many examples) is here:
http://www.depressedpress.com/Content/Development/JavaScript/Extensions/DP_PanelManager/Index.cfm The latest version allows for "anonymous" panels - HTML elements without an HTML ID. This is important since you often want to create a panel out of elements that don't normally have ID values (such as the BODY tag). It also greatly simplifies panel composition - as long as you have (or can get) a reference to the panel you can use it. A "panel" is just an HTML element. When made into a panel the element is enhanced with many methods which normalize common needs like position, size, opacity, event handling, display, loading of content, etc. Most of the visible changes can also be easily animated. Once a panel is created you access it as you always did (no framework specific knowledge or extensions are required). For example to change the size of an element: document.getElementById("MyDiv").setSize([100,100]); Panels are stored in a "PanelManager". A panel manager allows you access to the entire collection of panels (and there can be multiple Panel Managers on the same page) and access to commonly needed system-level information such as mouse-position, window and canvas size, etc. There's still work to do (z-index management works, but is still a little weird and I want more control over the animation end points) but I've already found this very useful and suprisingly adaptive. I would appreciate any bug reports however. As always the code is free and open-source (under the liberal BSD license). Jim Davis ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade & see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/Javascript/message.cfm/messageid:4047 Subscription: http://www.houseoffusion.com/groups/Javascript/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.33
