PDA

View Full Version : Modal Floating Menu



maneesh_m
22 Jul 2008, 1:35 AM
I want a modal floating menu to be appeared in the page when the page gets loaded. Is there any control available in Ext JS to do it.

Thanks in advance

evant
22 Jul 2008, 2:11 AM
By menu, do you mean a dialog? I'd suggest looking at either the Ext.Window, or Ext.MessageBox classes.

maneesh_m
22 Jul 2008, 2:15 AM
Thanks for your reply. Yes it can be a dialog. Ext. window and Ext.MessageBox is not giving the dialog which i requires (kindly go thru the image attached). But the items listed in the dialog should be an hyperlink so that by clicking that i can perform some action. In the image attached you can view that options- add widget, save and cancel. I want to create a floating modal dialog like that so that when i click the options i can perform some actions. Thanks in advance

maneesh_m
22 Jul 2008, 4:20 AM
I want a modal floating dialog to be appeared in the page when the page gets loaded. Is there any control available in Ext JS to do it. Ext. window and Ext.MessageBox is not giving the dialog which i requires (kindly go thru the image attached). But the items listed in the dialog should be an hyperlink so that by clicking that i can perform some action. In the image attached you can view that options- add widget, save and cancel. I want to create a floating modal dialog like that so that when i click the options i can perform some actions. Thanks in advance

mjlecomte
22 Jul 2008, 5:21 AM
You should probably post the code you're currently using

maneesh_m
22 Jul 2008, 9:11 PM
The image what I have attached was developed using Adobe Photoshop, it is actually not a HTML. When I load a page in the browser, I have to show the draggable dialog box using Ext JS with three hyper linked menu items like what is there in the attached image. But there should be a film or layer on the entire background which should protect the user from doing any action till he closes the dialog box.(It means the user has to do some action only on the dialog box, once he closes the dialog box then the background layer should also be removed and allow him to do some action on the page). Hope this can explain you a bit more about our requirement:).