View Full Version : BasicDialog + YAHOO.widget.OverlayManager
6 Nov 2006, 8:10 PM
I'm having focus issues with dialogs.
we won't be able to register BasicDialog with something like YAHOO.widget.OverlayManager, will we?
7 Nov 2006, 12:22 AM
I'm thinking there could be some kind of yui-ext DialogManager.
Keep a static list of existing BasicDialogs so that they can be managed in some way.
Finding them, hding them all.
Or displaying some kind of "taskbar", or context menu. Basically, some UI element which contains some representation of them - a set of icons, or just a stack of shortened title bars. This could be used to redisplay hidden Dialogs.
On this theme, there should probably be 2 buttons. A distinction must be made between hide and destroy. Currently clicking the close, hides the dialog, and you can subscribe to that to optionally destroy it. I think there should be configurably two buttons offering two different events.
7 Nov 2006, 3:18 AM
That would useful. I will look at implementing it.
As for destroying the dialog, I won't ever wire anything directly to a button, but I could add a function to destroy it.
Powered by vBulletin® Version 4.1.5 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.