鼠标感应图片

发布时间:2008-12-19 15:04:59 阅读次数:

<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>