Sha256: c30ad03989b2fbeb47466303c10c58ac9ddf1f9c1ea922171b5d605b49215c1c
Contents?: true
Size: 1.61 KB
Versions: 55
Compression:
Stored size: 1.61 KB
Contents
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!-- * This file is a component of env.js, * http://github.com/gleneivey/env-js/commits/master/README * a Pure JavaScript Browser Environment * Copyright 2009 John Resig, licensed under the MIT License * http://www.opensource.org/licenses/mit-license.php --> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr" id="html"> <head> <title>Content document for IFRAME loading in env.js unit test suite</title> </head> <body> <p id="aParaInAnIframe"> Here is a short paragraph. </p> <p id="nestingLevel">2</p> <p> The preceding is the seed value for the automatic iframe-nesting count generation in <code>iframeN.html</code>, used by the nesting test in <code>../unit/frame.js</code>. Value must be equal to the test's 'startingDepth' variable, minus 1, for things to work. </p> <!-- abbreviated copy of code also in iframeN.html --> <script> function aPara(pId, pText){ var t = document.createTextNode(pText + " 1"); var p = document.createElement('p'); p.setAttribute('id', pId + "1"); p.appendChild(t); document.getElementsByTagName('body')[0].appendChild(p); } function iframeOnloadHandler(){ aPara("pCreatedIframeOnload", "para iframe onload"); window.top.frameLoadCount++; } </script> </body> </html>
Version data entries
55 entries across 31 versions & 4 rubygems