指向即放大的图片intobig.txt
来自「JavaScript特效(新)这里有许多的JAVA特效.供学者参考」· 文本 代码 · 共 21 行
TXT
21 行
<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://javaer.home.chinaren.com" target="_top"><dd><img border="0" hspace="0" id="smallslot" src="dog.jpg" style="left: 180; position: absolute; top:200; visibility: visible; z: 2" WIDTH="80" HEIGHT="102"></a></dd>
</div>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?