摘自人民网体育频道的JS卷角翻转方块图片切换_网页代码站(www.webdm.cn)

1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2  <html xmlns="http://www.w3.org/1999/xhtml">
3  <head>
4  <title>摘自人民网体育频道的JS卷角翻转方块图片切换_网页代码站(www.webdm.cn)</title>
5
6 </HEAD>
7 <BODY>
8
9 <center>
10 <SCRIPT language=javascript>
11 var imagePath=new Array();//图片地址
12 var linkPath=new Array();//连接地址
13 var ppTitle=new Array();//标题
14 var ppInfo=new Array();//介绍性文字
15
16 imagePath.push("http://www.webdm.cn/images/20101016/2/01.jpg")
17 linkPath.push("http://www.webdm.cn/")
18 ppTitle.push("吉格斯绝杀门神破纪录 曼联8连胜登顶")
19
20 imagePath.push("http://www.webdm.cn/images/20101016/2/02.jpg")
21 linkPath.push("http://www.webdm.cn/")
22 ppTitle.push("八一顽强防守致力克辽宁")
23
24 imagePath.push("http://www.webdm.cn/images/20101016/2/03.jpg")
25 linkPath.push("http://www.webdm.cn/")
26 ppTitle.push("姚明30分5次盖帽 火箭主场屠狼")
27
28 imagePath.push("http://www.webdm.cn/images/20101016/2/04.jpg")
29 linkPath.push("http://www.webdm.cn/")
30 ppTitle.push("巴萨3-1胜希洪竞技")
31
32 var imagePath_str=""
33 var linkPath_str=""
34 var titleText_str=""
35 for(var i=0;i<imagePath.length;i++){
36 imagePath_str+=imagePath[i]+"|_|";
37 linkPath_str+=linkPath[i]+"|_|";
38 titleText_str+=ppTitle[i]+"|_|";
39 }
40
41 document.writeln("<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http:\/\/fpdownload.macromedia.com\/pub\/shockwave
42
43 \/cabs\/flash\/swflash.cab#version=7,0,0,0\" width=\"325\" height=\"300\" id=\"flash2\" align=\"middle\">");
44 document.writeln("<param name=\"allowScriptAccess\" value=\"sameDomain\" \/>");
45 document.writeln("<param name=\"wmode\" value=\"opaque\" \/>");
46 document.writeln("<param name=\"movie\" value=\"http://www.webdm.cn/images/20101016/2/3D.swf\" \/>");
47 document.writeln("<param name=\"quality\" value=\"high\" \/>");
48 document.writeln("<param name=\"bgcolor\" value=\"#D7E3FD\" \/>");
49 document.writeln("<param name=\"FlashVars\" value=\"pics="+imagePath_str+"&links="+linkPath_str+"&txts="+titleText_str+"\" \/>");
50 document.writeln("<embed src=\"http://www.webdm.cn/images/20101016/2/3D.swf\" quality=\"high\" bgcolor=\"#000000\" width=\"325\" height=\"300\"
51
52 name=\"flash2\" align=\"middle\" allowScriptAccess=\"sameDomain\" type=\"application\/x-shockwave-flash\" pluginspage=\"http:\/
53
54 \/www.macromedia.com\/go\/getflashplayer\" \/>");
55 document.writeln("<\/object>");
56 </SCRIPT>
57
58 </center>
59
60
61 <br><br>
62 <table width="910" height="66" border="0" align="center" cellpadding="0" cellspacing="0">
63 <tr>
64 <td align="center"><br />
65 <p><a href="http://www.webdm.cn">网页代码站</a> - 最专业的网页代码下载网站 - 致力为中国站长提供有质量的网页代码!</p>
66 <p></p>
67 <p></p>
68 <p><br />
69 </p></td>
70 </tr>
71 </table>
72 </BODY></HTML>

文章来自:http://www.webdm.cn/webcode/5dae047f-d73d-4557-9628-52d650a234b8.html

原文地址:https://www.cnblogs.com/webdm/p/1895710.html