Forums
|
|
|
Page 1 of 1
|
[ 5 posts ] |
|
IE freezes once applying PIE to a Iframe
Author |
Message |
jps
Joined: Wed Mar 16, 2011 8:12 am Posts: 3
|
 IE freezes once applying PIE to a Iframe
Hi there,
I made up a test page which loads an aspx page in a jquery dialog. in Test1.aspx var ifm = $("<iframe frameborder='0' ></iframe>"); var theDiv = $("<div>"); ifm.attr("src", "test2.aspx"); ifm.appendTo(theDiv); theDiv.dialog();
in test2.aspx: <script type="text/jscript"> $(function () { $('.round').each(function () { PIE.attach(this) }); } ); </script>
the IE froze once the dialog shows up. I had to kill the IE process through task manager.
any ideas?
Thx
|
Wed Mar 16, 2011 8:30 am |
|
 |
jason
Joined: Wed Jul 14, 2010 11:46 am Posts: 1452
|
 Re: IE freezes once applying PIE to a Iframe
I don't understand from your code snippet... are you applying PIE to the iframe element itself, or to some other element?
I haven't tested applying PIE to iframes, I wouldn't be surprised if it had problems with that since iframes are very special elements.
|
Wed Mar 16, 2011 9:30 am |
|
 |
jps
Joined: Wed Mar 16, 2011 8:12 am Posts: 3
|
 Re: IE freezes once applying PIE to a Iframe
Hi json,
I applied PIE to the buttons css-classed with ".round" in test2.aspx which was loaded via iframe into a jquery dialog in test1.aspx.
Thx
|
Wed Mar 16, 2011 11:31 am |
|
 |
jason
Joined: Wed Jul 14, 2010 11:46 am Posts: 1452
|
 Re: IE freezes once applying PIE to a Iframe
Oh I see, thanks for clarifying.
I assume that you've tested that test2.aspx loads correctly when it's not inside an iframe? And that the freezing does not occur when you do not apply PIE to the buttons?
Also does this happen in all versions of IE or only certain ones? Does it happen consistently all the time or only sometimes? As much info as you can give would be helpful.
|
Wed Mar 16, 2011 1:45 pm |
|
 |
jps
Joined: Wed Mar 16, 2011 8:12 am Posts: 3
|
 Re: IE freezes once applying PIE to a Iframe
test2.aspx loads correctly when it's not inside an iframe. And that the freezing does not occur when no PIE to the buttons
it happens consistently all the time (I only tested in IE8).
Thx
|
Wed Mar 16, 2011 7:23 pm |
|
|
|
Page 1 of 1
|
[ 5 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 2 guests |
|
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 You cannot post attachments in this forum
|
|