npr / responsiveiframe

Responsive IFrames

Home Page:http://npr.github.com/responsiveiframe/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Several iframes on the same page creates infinite loop?

simpel opened this issue · comments

Hey guys. Great project this!

Just one issue on my side, when I have several iframes on one page that all utilizes the script it all goes bananas and the browser hangs. My child script

 var frame = responsiveIframe();
 frame.allowResponsiveEmbedding();

Any ideas on why this can be? This is how I call everything:

$('#mobile').responsiveIframe();
$('#tablet').responsiveIframe();
$('#desktop').responsiveIframe();

I should also say that I get no script errors or anything like that.

Thanks, I will take a look, and see what may be going on. Just to be clear, are you using the same src for all the iframes? Just want to be sure as I test it out.

Hey! Yep, same source!

Den måndagen den 1:e juli 2013 skrev Michael Seid:

Thanks, I will take a look, and see what may be going on. Just to be
clear, are you using the same src for all the iframes? Just want to be sure
as I test it out.


Reply to this email directly or view it on GitHubhttps://github.com//issues/11#issuecomment-20305545
.

I've got this issue also. Was there a fix to resolve this issue?