Forums
View unanswered posts | View active topics It is currently Thu Oct 23, 2014 7:04 am



Reply to topic  [ 5 posts ] 
 IE freezes once applying PIE to a Iframe 
Author Message

Joined: Wed Mar 16, 2011 8:12 am
Posts: 3
Post 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
Profile

Joined: Wed Jul 14, 2010 11:46 am
Posts: 1446
Post 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
Profile

Joined: Wed Mar 16, 2011 8:12 am
Posts: 3
Post 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
Profile

Joined: Wed Jul 14, 2010 11:46 am
Posts: 1446
Post 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
Profile

Joined: Wed Mar 16, 2011 8:12 am
Posts: 3
Post 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
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 5 posts ] 

Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 1 guest


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

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.