请教大侠!
下面的代码在IE里执行正常,在Google Chrome 和 火狐 Mozilla Firefox 却不正常!
很郁闷问题出在那里呢? 谢谢大家了
<style type="text/css">
.glow1 {filter:glow(color=#FF0000,strengh=2)}
</style>
<script>
function init()
{
makeflash(bob);
}
function makeflash(obj)
{
obj.flashTimer=setInterval("bob.filters.glow.enabled= !bob.filters.glow.enabled",600)
}
function stopflash(obj)
{
clearInterval(obj.flashTimer)
}
</script>
<body onload="init()" align="center">
<div align="center" id="bob" style="position:absolute; width:430px; height:60px; z-index:1; left:195px; top:10px" class="glow1">
<div align="center" style="position: absolute; width: 422px; height: 55px; z-index: 1; left: 5px; top: 3px" id="layer1">
<img src="http://img04.taobaocdn.com/tps/i4/T1Uff0XcXbXXa7GBHi-205-98.png" width="422" height="55" border="0">
</div>
</div>
</body>
</html>
------解决方案--------------------
滤镜只在IE下生效,你得去查查IE下的glow滤镜,对应chrome跟FF下的什么CSS样式,分开处理一下