2013年10月5日 星期六

滑鼠移動改變按鈕圖片,onmouseover,onmouseout


 '使用HTML語法+java script可以得到效果
'圖片檔案格式建議jpg或gif
<a href="/user_power.aspx"  target="_parent">

<img alt=""提示訊息"" src="../test/test.jpg"
onmouseover="this.src='/test/test_over.gif'" onmouseout="this.src='/test/test.jpg'"border="0" title="ASP.NET提示訊息" />

</a>

沒有留言:

張貼留言