Created
September 5, 2017 22:00
-
-
Save h4kun4matata/423456329a43c781d8222411e8639191 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 (window.innerHeight){ | |
| //navegadores baseados em mozilla | |
| espaco_iframe = window.innerHeight - 110 | |
| }else{ | |
| if (document.body.clientHeight){ | |
| //Navegadores baseados em IExplorer, pois nao tenho innerheight | |
| espaco_iframe = document.body.clientHeight - 110 | |
| }else{ | |
| //outros navegadores | |
| espaco_iframe = 478 | |
| } | |
| } | |
| document.write ('<iframe frameborder="0" src="minhapagina.html" width="770" height="' + espaco_iframe + '">') | |
| document.write ('</iframe>') | |
| </script> | |
| <noscript> | |
| <iframe frameborder="0" src="minhapagina.html" width="770" height=478> | |
| </iframe> | |
| </noscript> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment