鼠标感应图片
[查看演示]
<script language="JavaScript1.2">[查看演示]
function expand() {
if (smallslot.width<=150) {
x=window.setTimeout('expand()', 10)
smallslot.width=smallslot.width + 5
smallslot.height=smallslot.height + 5
}
else {
setTimeout('reduce()', 0)
}}
function reduce() {
if (smallslot.width>60) {
x=window.setTimeout('reduce()', 10)
smallslot.width=smallslot.width - 5
smallslot.height=smallslot.height - 5
}}</script>
</head>
<body>
<div id="slot1" onmouseover="expand()" style="HEIGHT: 150px; WIDTH: 60px"><a
href="http://www.sucai.com" target="_top">
<dd><img border="0" hspace="0" id="smallslot" src="2259.gif"
style="LEFT: 296px; POSITION: absolute; TOP: 104px; VISIBILITY: visible; z: 2" WIDTH="80"
HEIGHT="102"></a></dd>
</div>
</body>