会收缩的链接图片

下面是效果

将下面的代码拷入到你网页<body></body>中即可......

<script language="JavaScript1.2">
function expand() {
if (smallslot.width<=102) {
x=window.setTimeout('expand()', 10)
smallslot.width=smallslot.width + 5
smallslot.height=smallslot.height + 5
}
else {
setTimeout('reduce()', 0)
}
}

function reduce() {
if (smallslot.width>80) {
x=window.setTimeout('reduce()', 10)
smallslot.width=smallslot.width - 5
smallslot.height=smallslot.height - 5
}
}
</script>
<div id="slot1" onmouseover="expand()" style="HEIGHT: 120px; WIDTH: 180px"><a href="http://www.goodsgy.com" target="_top">
<dd><img border="0" hspace="0" id="smallslot" src="images/logo1.gif" style="LEFT: 298px; POSITION: absolute; TOP: 50px; VISIBILITY: visible; z: 2" WIDTH="180" HEIGHT="120"></a> </dd></div>


在这个时间效果中,你自己可以任意放在网页的任何位置,只要你认为合适.在此希望你可以给本站做链接,谢谢!!!

关闭这个窗口