- Oct 8, 2007I'm a bit challenged with the OO concepts in YUI and JS.I'd like to extend the YUI Panel by adding some additional html. (wrap another div around header, footer and body).
Obviously I still want the rest of the Panel work accordingly.When I add a new container in markup (I'd eventually want to do it via JS) YUI ignores the existing hd, bd, and ft inside the new container and creates it's own when needed.
Is this possible?Looking through the source code I noticed a function : createModuleTemplateCould it be as easy as overloading this somehow?Or do I have to create a new Panel subclass and extend the original one? (any examples available?)thanks in advance...martin