Hey does anybody know how to do expandable iFrames, and make iFrames refresh for radio stats?
Hey does anybody know how to do expandable iFrames, and make iFrames refresh for radio stats?
There's the expandable iFrame script, and I actually am looking for something like the second thing you said.Code:<html> <head> <script type="text/javascript"> function resizeIframe(){ var ifr = document.getElementById("main"); var ifrBody = ifr.contentWindow.document[getDocBody(ifr.contentWindow)]; ifr.style.height=ifrBody.scrollHeight+"px"; } function getDocBody(win){ if (!win) win=window; if (win.document.compatMode && win.document.compatMode != 'BackCompat') { //standards compliant mode return "documentElement"; } return "body"; } </script> </head> <body> <iframe id="main" name="main" src="test.htm" style="width:100%;height:200px;" frameborder="0" onload="resizeIframe();"></iframe> </body> </html>
+.net - omg it's coming o_o
Just use a meta refresh?
Code:<meta http-equiv="refresh" content="seconds;url=url-of-this-page" />
Thanks +rep
Want to hide these adverts? Register an account for free!