Threaded View
-
8 Dec 2006 11:59 AM #1
Multiple BasicDialog instances on same page
Multiple BasicDialog instances on same page
Is it possible to have multiple BD instances on the same page? For example, if I have in the HTML:
and in the JavaScript file:Code:<div id='logout-dlg' style='visibility:hidden;overflow:hidden;position:absolute;top:0px;'> <div class='ydlg-hd'>Logout</div> ... </div> <div id='login-dlg' style='visibility:hidden;overflow:hidden;position:absolute;top:0px;'> <div class='ydlg-hd'>Login</div> ... </div>
Code:logoutDlg = new YAHOO.ext.BasicDialog("logout-dlg", { modal:true, ... }); loginDlg = new YAHOO.ext.BasicDialog("login-dlg", { modal:true, ... });
It would seem like only the first one that appears in the HTML can work correctly while the second dlg even fails to show. Does anyone have any idea? I know it's possible since I have seen wayki.com does it. Please help. Thanks
Similar Threads
-
Please Help...Multiple grid on the same page
By khanh3m in forum Ext 1.x: Help & DiscussionReplies: 4Last Post: 1 Aug 2012, 7:56 PM -
Problem with column width with multiple grids on a page
By SLerman in forum Ext 1.x: Help & DiscussionReplies: 3Last Post: 28 Feb 2007, 8:22 AM -
Column width problem when multiple grid on same page
By Greeens in forum Ext 1.x: Help & DiscussionReplies: 1Last Post: 9 Feb 2007, 7:44 AM -
Multiple Grids on a Page, Column Adjust Problem?
By rooster in forum Ext 1.x: Help & DiscussionReplies: 1Last Post: 8 Jan 2007, 1:42 PM -
Single or multiple page layout?
By seldon in forum Ext 1.x: Help & DiscussionReplies: 0Last Post: 23 Dec 2006, 3:22 AM


Reply With Quote