土芭樂數位學堂

BigData 大數據分析, 大數據平台建置及應用 (Hadoop/spark),虛擬核⼼技術,資訊技術的分享, TiddlyWiki教學, Google 服務應用教學, 3D列印創意思維

6月 23, 2011

運用mouseOver與mouseOut動態換圖


<html>
<head><script type="text/javascript">
function mouseOver()
{
document.getElementById("c1").src="dataf1.gif";
}

function mouseOut()
{
document.getElementById("c1").src="dataf.gif";
}

</script></head>

<body>
<a href="http://tobala.net" target="_blank">
<img id="c1" border="0" width="80%" alt="Chart!!" src="dataf.gif" onmouseover="mouseOver()" onmouseout="mouseOut()" />
</a>

</body>
</html>

沒有留言:

張貼留言