触摸屏租赁
Touch screen rental
广告机租赁
Advertising rental
机器人租赁
Robot leasing
 当前位置:首页 > > JavaScript滑鼠感應圖片縮放

<head>
<meta http-equiv="Content-Type" content="text/html; charset=big5">
</head>

腳本說明:
把如下代碼加入<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: 102px; WIDTH: 80px">
<a href="http://www.o-asp.com" target="_top">
<dd><img border="0" hspace="0" id="smallslot" src="http://klom13.myweb.hinet.net/1/11/20070309223550530.gif"
style="LEFT: 296px; POSITION: absolute; TOP: 104px; VISIBILITY: visible; z: 2" WIDTH="86"  HEIGHT="80"></dd></a>
</div>

</body>
<body>

来源:展洋科技 www.35544216.com


工作室地址:重庆石桥铺电脑城B座 | 微信:z35544216 | 网址:www.35544216.com