📄 例4-15.htm
字号:
<HTML><HEAD><TITLE>images数组的使用示例</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<SCRIPT language=JavaScript>
function changeImg(i,ImgIndex1,ImgIndex2){
document.images[i].src=Images[ImgIndex1][ImgIndex2].src;
}
var Images=new Array(7);
for (i=1;i<7;i++)
Images[i]=new Array(3);
for (i=1;i<7;i++)
for (j=1;j<3;j++){
Images[i][j]=new Image();
Images[i][j].src="func_but"+i+j+".jpg";
}
</SCRIPT>
<META content="MSHTML 6.00.2900.2722" name=GENERATOR>
<script language="JavaScript" fptype="dynamicanimation">
<!--
function dynAnimation() {}
function clickSwapImg() {}
//-->
</script>
<script language="JavaScript1.2" fptype="dynamicanimation" src="file:///C:/Program%20Files/Microsoft%20Office/OFFICE11/fpclass/animate.js">
</script>
</HEAD>
<BODY topMargin=4 onload="dynAnimation()" language="Javascript1.2"><BR>
<TABLE cellSpacing=0 cellPadding=0 width="80%" align=center border=0>
<TBODY>
<TR>
<TD vAlign=top align=right>
<A onmouseover="var img=document['fpAnimswapImgFP1'];img.imgRolln=img.src;img.src=img.lowsrc?img.lowsrc:img.getAttribute?img.getAttribute('lowsrc'):img.src;"
onmouseout="document['fpAnimswapImgFP1'].src=document['fpAnimswapImgFP1'].imgRolln"
href="http://192.168.6.19/jxyd/book/web0208/gsjj/gsjj.htm"
target=_top>
<IMG height=26 src="例4-15.files/func_but11.jpg" width=106
border=0 id="fpAnimswapImgFP1" name="fpAnimswapImgFP1" dynamicanimation="fpAnimswapImgFP1" lowsrc="例4-15.files/func_but12.jpg"></A> </TD>
<TD align=middle rowSpan=3><IMG height=180 src="例4-15.files/tp.jpg"
width=230></TD>
<TD vAlign=top align=left>
<A onmouseover="var img=document['fpAnimswapImgFP4'];img.imgRolln=img.src;img.src=img.lowsrc?img.lowsrc:img.getAttribute?img.getAttribute('lowsrc'):img.src;"
onmouseout="document['fpAnimswapImgFP4'].src=document['fpAnimswapImgFP4'].imgRolln"
href="http://192.168.6.19/jxyd/book/web0208/pmxx/pmxx.htm"
target=_top>
<IMG height=26 src="例4-15.files/func_but41.jpg" width=106
border=0 id="fpAnimswapImgFP4" name="fpAnimswapImgFP4" dynamicanimation="fpAnimswapImgFP4" lowsrc="例4-15.files/func_but42.jpg"></A> </TD></TR>
<TR>
<TD align=middle>
<A onmouseover="var img=document['fpAnimswapImgFP2'];img.imgRolln=img.src;img.src=img.lowsrc?img.lowsrc:img.getAttribute?img.getAttribute('lowsrc'):img.src;"
onmouseout="document['fpAnimswapImgFP2'].src=document['fpAnimswapImgFP2'].imgRolln"
href="http://192.168.6.19/jxyd/book/web0208/zczx/zczx.htm"
target=_top>
<IMG height=26 src="例4-15.files/func_but21.jpg" width=106
border=0 id="fpAnimswapImgFP2" name="fpAnimswapImgFP2" dynamicanimation="fpAnimswapImgFP2" lowsrc="例4-15.files/func_but22.jpg"></A> </TD>
<TD align=middle>
<A onmouseover="var img=document['fpAnimswapImgFP5'];img.imgRolln=img.src;img.src=img.lowsrc?img.lowsrc:img.getAttribute?img.getAttribute('lowsrc'):img.src;"
onmouseout="document['fpAnimswapImgFP5'].src=document['fpAnimswapImgFP5'].imgRolln"
href="http://192.168.6.19/jxyd/book/web0208/pmgg/pmgg.htm"
target=_top>
<IMG height=26 src="例4-15.files/func_but51.jpg" width=106
border=0 id="fpAnimswapImgFP5" name="fpAnimswapImgFP5" dynamicanimation="fpAnimswapImgFP5" lowsrc="例4-15.files/func_but52.jpg"></A> </TD></TR>
<TR>
<TD vAlign=bottom align=right>
<A
onmouseover="var img=document['fpAnimswapImgFP3'];img.imgRolln=img.src;img.src=img.lowsrc?img.lowsrc:img.getAttribute?img.getAttribute('lowsrc'):img.src;"
onmouseout="document['fpAnimswapImgFP3'].src=document['fpAnimswapImgFP3'].imgRolln" href="mailto:800@TPmai.net"
target=_top>
<IMG height=26 src="例4-15.files/func_but31.jpg" width=106
border=0 id="fpAnimswapImgFP3" name="fpAnimswapImgFP3" dynamicanimation="fpAnimswapImgFP3" lowsrc="例4-15.files/func_but32.jpg"></A> </TD>
<TD vAlign=bottom align=left>
<A onmouseover="var img=document['fpAnimswapImgFP6'];img.imgRolln=img.src;img.src=img.lowsrc?img.lowsrc:img.getAttribute?img.getAttribute('lowsrc'):img.src;"
onmouseout="document['fpAnimswapImgFP6'].src=document['fpAnimswapImgFP6'].imgRolln"
href="http://192.168.6.19/jxyd/book/web0208/pmzs/pmzs.htm"
target=_top>
<IMG height=26 src="例4-15.files/func_but61.jpg" width=106
border=0 id="fpAnimswapImgFP6" name="fpAnimswapImgFP6" dynamicanimation="fpAnimswapImgFP6" lowsrc="例4-15.files/func_but62.jpg"></A> </TD></TR></TBODY></TABLE><BR></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -