Threaded View
-
3 Nov 2006 5:28 PM #1
BasicDialog incompatible with ylayout-inactive-content?
BasicDialog incompatible with ylayout-inactive-content?
Noticed that when I have class="ylayout-inactive-content" on the div that will become a dialog, and that dialog is modal, then dragging it causes it to disappear. The shadow stays behind.
Is there a better way to start the dialog initially hidden?Code:<div id="edit-dlg" > <div class="ydlg-hd">Title</div> <div class="ydlg-bd"> ... </div> <div class="ydlg-ft"> </div> </div> showDialog: function() { if(!dialog){ // lazy initialize the dialog and only create it once dialog = new YAHOO.ext.BasicDialog("edit-dlg", { modal:true, width:600, height:150, shadow:true, minWidth:500, minHeight:150 }); dialog.addKeyListener(27, dialog.hide, dialog); dialog.addButton('Save', dialog.hide, dialog); dialog.addButton('Cancel', dialog.hide, dialog); } dialog.show(getEl('addContactButton').dom); }
Similar Threads
-
Ext.ContentPanel - create inactive
By andrey.korolyov in forum Ext 1.x: Help & DiscussionReplies: 1Last Post: 16 Mar 2007, 5:49 PM -
What's x-layout-inactive-content? (newbie question)
By benkooijman in forum Ext 1.x: Help & DiscussionReplies: 5Last Post: 14 Mar 2007, 10:37 AM -
.ylayout-tools-button
By seldon in forum Ext 1.x: BugsReplies: 0Last Post: 13 Feb 2007, 5:07 AM -
Re-render BasicDialog with different content
By kalebwalton in forum Ext 1.x: Help & DiscussionReplies: 6Last Post: 6 Feb 2007, 12:37 PM -
BasicDialog autoTabs with dynamic content
By sjivan in forum Ext 1.x: Help & DiscussionReplies: 8Last Post: 20 Dec 2006, 10:31 AM


Reply With Quote