藍森林首頁 | 返回主頁 | 本站地圖 | 站內搜索 | 聯繫信箱 |
 您目前的位置:首頁 > 自由軟件 > 技術交流 > 應用編程


    

藍森林 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自帶的好多了




Copyright © 1999-2000 LSLNET.COM. All rights reserved. 藍森林網站 版權所有。 E-mail : webmaster@lslnet.com