語法展示:: http://home.graffiti.net/dfgdfgfdd/
請用IE6.0或更新版本觀看語法特效展示
將以下程式碼複製,貼在<body>及</body>標籤之間。
<script language="JavaScript1.2">
function borderit(which,color){
//if IE 4+ or NS 6+
if (document.all||document.getElementById){
which.style.borderColor=color
}
}
</script>
<p align="center"><img src="a.jpg" class="borderimage" onMouseover="borderit(this,'black')" onMouseout="borderit(this,'white')" width="35" height="35">
<img src="b.jpg" class="borderimage" onMouseover="borderit(this,'black')" onMouseout="borderit(this,'white')" width="33" height="33">
<img src="c.jpg" class="borderimage" onMouseover="borderit(this,'black')" onMouseout="borderit(this,'white')" width="32" height="31">
<img src="d.jpg" class="borderimage" onMouseover="borderit(this,'black')" onMouseout="borderit(this,'white')" width="38" height="36"></p>
在img src="a.jpg"更換自己喜愛的圖檔
將以下程式碼複製,貼在<head>及</head>標籤之間。
<style>
.borderimage{
border:1px solid white;
}
</style>
留言列表