<script type=text/vbscript>
<!--
//检查IE中的插件
On Error Resume Next
set f = CreateObject("ShockwaveFlash.ShockwaveFlash")
if IsObject(f) then
has_flash = true
version_flash = hex(f.FlashVersion())
end if
// -->
</script>
<script type=text/javascript>
<!--
if (has_flash)
{
version_flash = parseInt(version_flash.substr(0,1),16);
if (version_flash >= 7)
{
window.open("content/promptContent/normal.htm", "_self");
}
else
{
window.open("content/promptContent/lowflash.htm", "_self");
}
}
else
{
window.open("content/promptContent/lowflash.htm", "_self");
}
// -->
</script>
<!--
//检查IE中的插件
On Error Resume Next
set f = CreateObject("ShockwaveFlash.ShockwaveFlash")
if IsObject(f) then
has_flash = true
version_flash = hex(f.FlashVersion())
end if
// -->
</script>
<script type=text/javascript>
<!--
if (has_flash)
{
version_flash = parseInt(version_flash.substr(0,1),16);
if (version_flash >= 7)
{
window.open("content/promptContent/normal.htm", "_self");
}
else
{
window.open("content/promptContent/lowflash.htm", "_self");
}
}
else
{
window.open("content/promptContent/lowflash.htm", "_self");
}
// -->
</script>
改为version_flash = parseInt(version_flash.substr(0,1),16);
反正返回的十六进制是A0000
而你要用的是十进制的数据库
那么就要进行转换,但你用parseInt(version_flash.substr(0,2));这个并没有转换
version_flash = parseInt(version_flash.substr(0,1),16); 改成这个转换就好