演
示
源
代
码
<script language="JavaScript"> <!-- load() function load ( ) { xImage=new Array (2) xImage[0] = "
" xImage[1] = "
" xImage[2] = "
" xText=new Array (2) xText[0] = "text 1" xText[1] = "text 2" xText[2] = "text 3" } function loadimage (x) { obr.src=xImage[x]; popis.innerText=xText[x] } // --> </script> <table border="2" cellpadding="0" cellspacing="1" width="200"> <tr> <td> <div align="center"> <center> <table border="0" cellpadding="3" cellspacing="0"> <tr> <td width="33%" align="center"><strong><a href="javascript: loadimage('0')">pic1</a></strong></td> <td width="33%" align="center"><a href="javascript: loadimage('1')"><strong>pic2</strong></a></td> <td width="34%" align="center"><a href="javascript: loadimage('2')"><strong>pic3</strong></a></td> </tr> </table> </center> </div> </td> </tr> <tr align="center"> <td> <table border="0" cellpadding="0" cellspacing="0"> <tr> <td height="68"> <p align="left"><img src="
" border="0" name="obr"> </td> </tr> <tr> <td width="100%" style="font-family: Times New Roman CE; font-size: 10pt"> <div id="popis"> <p>text1 text2 text3</p> </div> </td> </tr> </table> </td> </tr> </table>
浏览图形
图形一的文件名:
图形二的文件名:
图形三的文件名:
初始图形文件名:
注释:放在<body>与</body>之间
当前位置:
首 页
→
JavaScript
→
图形特效
→浏览图形
··万旭网站工作室 设计发布··