Monday, September 9, 2013

http://inforzone.kktech.ac.th/html_technics.php

ส่วนตัวนี้เป็นรูปแบบ css

<style type="text/css">
img.resize  {
width: 32px;
height: 32px;
border: 0;
}
img:hover.resize  {
width: 128px;
height: 128px;
border: 0;
}
</style>


<img src="animate.jpg" alt="animate" class="resize" />


อันนี้แบบง่ายๆ

<body><img src="" width="300" height="300" 
onMouseOver="this.style.width='290';this.style.height='212';
"onMouseOut="this.style.width='190';this.style.height='112';
"style="width: 190px; height: 112px; "></body>

0 comments:

Post a Comment