From: Ken O. <ko...@an...> - 2001-02-21 17:52:45
|
Hello, Attached is my first attempt at creating a pulldown menu widget. Any help would be greatly appreciated. My approach was to build the pulldown menus as a series of toolbars and buttons. I attempted to extend CoreToolBar and CoreButton. The code currently simply creates the buttons and tools bars. Event handling stuff is not present. Anyway, addChild is complaining about something. I'm doing something wrong (hopefully not too stupid) and I'm now i'm starting to step through reams of dynlayer code and I bet it's something an expert can answer quickly. I also ran into a null reference problem. On line 155 of dynlayer.js of the 01-25 release, child.css was null. Could be a symptom, but in any event I changed it (without an understanding of what's going on) to the following to get to the next problem. if (child.z!=null && child.css!=null) child.css.zIndex=child.z; BTW, is anybody else developing a pulldown menu widget? Regards, Ken |