| Page 1 of 1 | [ 1 post ] |
|
Sorry to interrupt you all. I have a problem on using YAHOO.widget.Dialog.
My task is to create a dialog showing on A.htm but the content is on the B.htm. And page A.htm is loaded as a tab by tabview in B.htm. Take my program as an example: ////////////////////////////// var panel_Hello = new YAHOO.widget.Dialog("panel-Hello", { width: "1200px", height: "530px", fixedcenter: true, visible: false, constraintoviewport: true, close: true, draggable: true, autofillheight: "body" }); panel_Hello.setHeader("Hello"); panel_Hello.render(); panel_Hello.show(); ///////////////////////////////////////////////////////////////// The above program is running after select the tab of A.htm, to initialize a dialog which content is in <div id ="panel-Hello"> in B.htm. However, the dialog does not show. Therefore, I would like to ask for help. |
| Page 1 of 1 | [ 1 post ] |
| You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum |
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info
Powered by phpBB® Forum Software © phpBB Group