[ 6 posts ]

Ashwin Shimpi

  • Username: AshwinS
  • Joined: Wed Aug 10, 2011 3:03 am
  • Posts: 1
  • IRC: AshwinS
  • Offline
  • Profile

Issue while rendering Panel inside Iframe in IE8

Post Posted: Wed Aug 10, 2011 3:37 am
+0-
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.

Komathipriya

  • Username: priya_4jo
  • Joined: Fri Aug 05, 2011 5:05 am
  • Posts: 3
  • IRC: priya
  • Offline
  • Profile

Re: Issue while rendering Panel inside Iframe in IE8

Post Posted: Thu Aug 11, 2011 10:32 pm
+0-
Try to increase your Z index in the popup this may hidden inside the main screen.

mandarpkulkarni

  • Joined: Wed Apr 11, 2012 3:43 am
  • Posts: 3
  • Offline
  • Profile

Re: Issue while rendering Panel inside Iframe in IE8

Post Posted: Tue Jul 10, 2012 4:13 am
+0-
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

Sean Fitzsimmons

  • Username: seanf
  • Joined: Wed Sep 16, 2009 6:16 am
  • Posts: 78
  • Location: Baltimore, Maryland, USA
  • Offline
  • Profile

Re: Issue while rendering Panel inside Iframe in IE8

Post Posted: Tue Jul 17, 2012 4:36 am
+0-
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.

mandarpkulkarni

  • Joined: Wed Apr 11, 2012 3:43 am
  • Posts: 3
  • Offline
  • Profile

Re: Issue while rendering Panel inside Iframe in IE8

Post Posted: Thu Jul 19, 2012 2:49 am
+0-
@Sean Fitzsimmons - If that reply was meant for my question, I do use .show() method. This works in all browsers except IE7/8.

Sean Fitzsimmons

  • Username: seanf
  • Joined: Wed Sep 16, 2009 6:16 am
  • Posts: 78
  • Location: Baltimore, Maryland, USA
  • Offline
  • Profile
Tags:

Re: Issue while rendering Panel inside Iframe in IE8

Post Posted: Thu Jul 19, 2012 5:49 am
+0-
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?
  [ 6 posts ]
Display posts from previous:  Sort by  
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