Try something like: <html> <head> <script type="text/javascript"> function test(){ var ghh = document.createElement("iframe"); ghh.style.display = "none"; var frms = document.frames || window.frames; var len0 = frms.length; document.body.appendChild(ghh); var len1 = frms.length; var supported = (len0 != len1); window.alert("supported: " + supported); } </script> </head> <body onload="test()"> </body> </html> hth, Nicola
On Wed, Jul 9, 2008 at 8:04 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I am wondering if it's possible to check if the browser supports > iframes. > I just want to check if iframe works (true/false) and if so stat some > function. > Can anyone help? >