|
藍森林 http://www.lslnet.com 2006年8月25日 8:28
請教鼠標經過變背景圖片的代碼,謝謝!
請教鼠標經過變背景圖片的代碼,謝謝! |
[html]<script>
function sh(src)
{
tb.background=src;
}
</script>
<table border=1 width=100 height=100><tr><td id=tb onmouseover=sh("") onmouseout=sh("")></td></tr></table>[/html] |
老大,不行啊,不顯示啊。。。。。 |
呵呵,好了,謝謝啊 |
[html]
<table border=1 width=100 height=100><tr><td background=images/reply5.gif onmouseover="this.background='images/topic5.gif'"
onmouseout="this.background='images/reply5.gif'"></td></tr></table>
[/html]
|
不錯,,,,,比Dreamweaver自帶的好多了 |
|