2004/09/04 | 表格-2 不断闪烁的表格边框
类别(JS/CSS/XHTML) | 评论(0) | 阅读(127) | 发表于 01:35
<html> <head></head> <body>
<table border="0" width="280" id="myexample" style="border:5px solid yellow">
<tr> <td>
相见欢  李煜<br><br>
无言独上西楼,<br>
月如钩,<br>
寂寞梧桐深院锁清秋。<br><br>
剪不断,<br>
理还乱,<br>
是离愁,<br>
别是一般滋味在心头。<br>
</td> </tr>
</table>
<script language="javascript1.2"> 
function flashit(){ 
if (!document.all) return
if (myexample.style.borderColor=="yellow")myexample.style.borderColor="lime"
else myexample.style.borderColor="yellow"
}
setInterval("flashit()", 500)
</script>
</body> </html>
0

评论Comments

日志分类
首页[142]
Diary[42]
Flash[8]
JS/CSS/XHTML[34]
ASP[29]
ASP.NET[2]
Database[6]
Extension[1]
Other[17]
Production[3]