闪烁的表格边线

< html >

< head >
< meta http-equiv ="Content-Type" content ="text/html;charset=gb2312" >
< title > 网页特效代码|JsCode.CN|---闪烁的表格边框 </ title >
< script language ="JavaScript1.2" > ...
functionflashit()...{
if(!document.all)
return
if(myexample.style.borderColor=="green")
myexample.style.borderColor
="red"
else
myexample.style.borderColor
="green"
}

setInterval(
"flashit()",500)
//-->
</ script >
</ head >

< body >

< table border ="0" width ="193" id ="myexample" style ="border:5pxsolidgreen" >
< tr >
< td width ="175" >
< p align ="center" > 网页特效观止 </ p >
</ td >
</ tr >
</ table >

</ body >

</ html >

你可能感兴趣的:(html)