Created
June 17, 2014 15:24
-
-
Save tmaslen/a1924b76f9b4d5140927 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script> | |
| if ((!document.addEventListener) || (!Array.prototype.indexOf) || (!Array.prototype.forEach) ) { | |
| document.write('<sc' + 'ript src="http://local.bbc.co.uk:1031/news/special/2014/newsspec_7978/content/english/js/lib/vendors/legacy-ie-polyfills.js?v=0.1.0"></sc' + 'ript>'); | |
| } | |
| </script> | |
| <div> | |
| <a href="http://local.bbc.co.uk:1031/news/special/2014/newsspec_7978/content/english/frame_1.html?v=0.1.0" id="responsive-iframe-98623215" data-static-iframe-height="600">iFrame</a> | |
| </div> | |
| <div> | |
| <a href="http://local.bbc.co.uk:1031/news/special/2014/newsspec_7978/content/english/frame_2.html?v=0.1.0" id="responsive-iframe-12343854" data-static-iframe-height="600">iFrame</a> | |
| </div> | |
| <div> | |
| <a href="http://local.bbc.co.uk:1031/news/special/2014/newsspec_7978/content/english/frame_3.html?v=0.1.0" id="responsive-iframe-96784321" data-static-iframe-height="600">iFrame</a> | |
| </div> | |
| <script type="text/javascript">(function () { | |
| var IframeWatcher = function (linkId) { | |
| ... | |
| }; | |
| var iframe_register = [], // append iframe references to this instead of the global object | |
| iframe_1 = new IframeWatcher('responsive-iframe-98623215', iframe_register), | |
| iframe_2 = new IframeWatcher('responsive-iframe-12343854', iframe_register), | |
| iframe_3 = new IframeWatcher('responsive-iframe-96784321', iframe_register); | |
| })();</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment