代码示例:(标识:dhtm_glow)
<html>
<head>
<style>
h1
{
width:400;
}
</style>

<script type="text/javascript">
var i
function glow()
{
i=0
interval=setInterval("makeglow()",10)
}

function back()
{
clearInterval(interval)
document.getElementById('myHeader').style.filter=false
}

function makeglow()
{
i++
if (i<5)
	{
	document.getElementById('myHeader').style.filter="glow(strength=" + i + ")"
	}
else if (window.interval)
	{
	clearInterval(interval)
	}
}

</script>
</head>

<body>
<h1 id="myHeader" onmouseover="glow()" onmouseout="back()">请把鼠标移动到这个标题上</h1>
</body>

</html>
运行结果: