<!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>
<script type="text/javascript">
function blinkTxt(){
if (!document.getElementById('message').style.color){
document.getElementById('message').style.color="red";
}
if (document.getElementById('message').style.color=="red"){
document.getElementById('message').style.color="black";
}else{
document.getElementById('message').style.color="red";
}
timer=setTimeout("blinkTxt()",200);
}
</script>
</head>
<body>
<div id="message"><b>我可以闪闪发光了</b></div>
</body>
</html>