<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>新建网页 6</title><SCRIPT LANGUAGE=JavaScript>
<!--
//可在此处修改FLASH的版本号码
var MM_contentVersion = 6;

var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ?
                     navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;

if ( plugin ) {
    var words = navigator.plugins["Shockwave Flash"].description.split(" ");
    for (var i = 0; i < words.length; ++i){
        if (isNaN(parseInt(words[i])))
            continue;
        var MM_PluginVersion = words[i];
    }
    var MM_FlashCanPlay = MM_PluginVersion >= MM_contentVersion;
}
else if( navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0 &&
        (navigator.appVersion.indexOf("Win") != -1) ) {
    document.write('<SCR' + 'IPT LANGUAGE=VBScript\> \n');
    document.write('on error resume next \n');
    document.write('MM_FlashCanPlay = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & MM_contentVersion)))\n');
    document.write('</SCR' + 'IPT\> \n');
}

if ( MM_FlashCanPlay )
{
 //window.alert("检测到FLASH");
 setInterval('document.getElementById("demo").cols="1024,*"')
}
else
{   
     //window.alert("未检测到FLASH");
   window.open("www.sft800.com");
   //未检测到FLASH PLAYER后在当前页面转向FLASH PLAYER安装向导界面,

     //setInterval('document.getElementById("demo").style.display="block"')
    //setInterval('document.getElementById("demo1").style.display="none"')
    //控制div层是否显示, block显示,none不显示
  
  setInterval('document.getElementById("demo").cols="0,*"')
  //控制FRAME窗体的载入位置.

}
</SCRIPT>
</head>



<body>
<!--通过定义ID属性控制div层的显示-->
<div >
 <noframes>
 <body>

 <p>此网页使用了框架,但您的浏览器不支持框架。</p>
 </body>
 </noframes>
 </frameset>

</frameset>

</body>

</html>


相关文章:

  • 2021-11-01
  • 2022-03-06
  • 2021-09-10
  • 2022-03-08
  • 2021-11-11
  • 2021-09-19
  • 2021-07-25
  • 2022-12-23
猜你喜欢
  • 2021-08-20
  • 2022-12-23
  • 2021-11-05
  • 2021-11-21
  • 2022-12-23
  • 2022-01-26
  • 2022-01-13
相关资源
相似解决方案