Giggle Girl wrote:
Is there a way to use Javascript to detect if a browser supports
IFrames, or (if it DOES support them) that IFrame use is enabled?
Thanks,
Ann
I can't guarantee this universally, but you could try something like:
<iframe src='mypage.htm'>
<script type='text/javascript'>
var ifSupport=false;
</script>
</iframe>
<script type='text/javascript'>
// must be placed below iframe tags or
// called as onload code.
if( typeof ifSupport != 'undefined' )
// iframes supported
else
// alert or redirect etc
</script>
--
S.C.