| Page 1 of 1 | [ 6 posts ] |
|
Hi All,
I have just started working on YUI 2 components followed the examples given. I face one issue while rendering a Modal Panel in IE8 , I have a Iframe inside it I need to display the Modal Panel, I followed the steps given in example panel.render(document.body) , this work perfectly in mozilla , but when try to execute in IE 8.0 panel is not get rendered , I added some alerts statements before rendering and surpizingly Panel got rendered on screen, Not sure what I doing wrong here whenver alerts are added Panel get rendered in IE 8.0 otherwise nothing displayed on screen. Please help This is what I tried , following code snippet works fine in mozilla but not in IE 8.0 if (!myPanel) { //alert('creating' + myPanel); // Initialize the temporary Panel to display while waiting for external content to load myPanel= new YAHOO.widget.Panel("mypanel", { width: "240px", constraintoviewport: true, underlay: "shadow", fixedcenter: true, close: false, draggable: false, modal: true, zindex: 4 } ); myPanel.setHeader("Loading, please wait..."); myPanel.setBody('<img src="../busy.gif" />'); if(myPanel.render(document.body)){ //alert('Rendered'); } } Thanks, Ashwin. |
|
Try to increase your Z index in the popup this may hidden inside the main screen.
|
|
Hi Ashwin,
I am facing similar problem with IE 7/8. I was wondering if you could find a solution to your problem? I have posted my problem here: viewtopic.php?f=14&t=9887 Thanks. Mandar |
|
This may sound stupid, but did you try
Code: myPanel.show() render just creates the markup, show sets the visible configuration property to true which causes the panel container visibility style to be set to visible so the panel appears on the screen. |
|
@Sean Fitzsimmons - If that reply was meant for my question, I do use .show() method. This works in all browsers except IE7/8.
|
|
Sorry, I should not have assumed it was something so simple. Definitely sounds like an issue with Dialogs and IFrames. Any YUI(2) gurus care to chime in?
|
| Page 1 of 1 | [ 6 posts ] |
| 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