jquery Programming Glossary: myheight
How to 'grow' an iFrame depending on the size of its contents? http://stackoverflow.com/questions/2872967/how-to-grow-an-iframe-depending-on-the-size-of-its-contents Yes it is possible by jquery. Parent page code iframe id 'ifrm' Script on iframe page function alertSize var myHeight 0 if typeof parent.window.innerWidth 'number' Non IE myHeight parent.window.innerHeight else if parent.document.documentElement.. id 'ifrm' Script on iframe page function alertSize var myHeight 0 if typeof parent.window.innerWidth 'number' Non IE myHeight parent.window.innerHeight else if parent.document.documentElement parent.document.documentElement.clientWidth parent.document.documentElement.clientHeight.. parent.document.documentElement.clientHeight IE 6 in 'standards compliant mode' myHeight parent.document.documentElement.clientHeight else if parent.document.body parent.document.body.clientWidth parent.document.body.clientHeight..
|