Link to home
Create AccountLog in
Avatar of logicslab
logicslab

asked on

css Glow effects is not working in Mozila and Opera

In below code i try to glow a text, that is working fine in IE.  But it is not working in Mozila and Opera.
Why it is so?

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<script language="JavaScript" type="text/javascript">
<!-- Provided By http://www.DesignerWiz.com Free Complete Web Development Resource Center
/*Cool Script by Felipe Bottrel Souza 1998/99-Rio de Janeiro,Brazil*/
var a = 0
function glown(){
if(a==0){
glow.filters.Glow.Strength = 5
a = 1
setTimeout("glown()",1)
}
else{
glow.filters.Glow.Strength = 10
a = 0
setTimeout("glown()",1)
}
}
//-->
</script>
</head>

<body onload="glown()">
<div id="glow" style="position:absolute; left:16px; top:17px; width:625px; height:175px; z-index:1; filter:Glow(Color='red',Strength=10)">DesignerWiz.com</div>
</body>
</html>
ASKER CERTIFIED SOLUTION
Avatar of rohypnol
rohypnol
Flag of Romania image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer