zoukankan      html  css  js  c++  java
  • 【荐】来自人民网的JS+Flash多图预览的图片切换特效_网页代码站(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+Flash多图预览的图片切换特效_网页代码站(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 textInfo=new Array();//文字介绍
    14 //图片尺寸190X260
    15 imagePath.push("http://www.webdm.cn/images/20101015/5/01.jpg")
    16 linkPath.push("http://www.webdm.cn/")
    17 textInfo.push("《传媒》")
    18
    19 imagePath.push("http://www.webdm.cn/images/20101015/5/02.jpg")
    20 linkPath.push("http://www.webdm.cn/")
    21 textInfo.push("《新闻与写作》")
    22
    23 imagePath.push("http://www.webdm.cn/images/20101015/5/03.jpg")
    24 linkPath.push("http://www.webdm.cn/")
    25 textInfo.push("《今传媒》")
    26
    27 imagePath.push("http://www.webdm.cn/images/20101015/5/04.jpg")
    28 linkPath.push("http://www.webdm.cn/")
    29 textInfo.push("《青年记者》")
    30
    31 imagePath.push("http://www.webdm.cn/images/20101015/5/05.jpg")
    32 linkPath.push("http://www.webdm.cn/")
    33 textInfo.push("《新闻记者》 ")
    34
    35 imagePath.push("http://www.webdm.cn/images/20101015/5/06.jpg")
    36 linkPath.push("http://www.webdm.cn/")
    37 textInfo.push("《对外传播》")
    38
    39 imagePath.push("http://www.webdm.cn/images/20101015/5/07.jpg")
    40 linkPath.push("http://www.webdm.cn/")
    41 textInfo.push("《网络传播》")
    42
    43 imagePath.push("http://www.webdm.cn/images/20101015/5/08.jpg")
    44 linkPath.push("http://www.webdm.cn/")
    45 textInfo.push("《北方传媒研究》")
    46
    47 imagePath.push("http://www.webdm.cn/images/20101015/5/09.jpg")
    48 linkPath.push("http://www.webdm.cn/")
    49 textInfo.push("《广告大观》")
    50
    51 imagePath.push("http://www.webdm.cn/images/20101015/5/10.jpg")
    52 linkPath.push("http://www.webdm.cn/")
    53 textInfo.push("《视听界》")
    54
    55 imagePath.push("http://www.webdm.cn/images/20101015/5/11.jpg")
    56 linkPath.push("http://www.webdm.cn/")
    57 textInfo.push("《媒介》")
    58
    59 imagePath.push("http://www.webdm.cn/images/20101015/5/12.jpg")
    60 linkPath.push("http://www.webdm.cn/")
    61 textInfo.push("《新闻实践》")
    62
    63 imagePath.push("http://www.webdm.cn/images/20101015/5/13.jpg")
    64 linkPath.push("http://www.webdm.cn/")
    65 textInfo.push("《中国报业》")
    66
    67
    68
    69 var imagePath_str=""
    70 var linkPath_str=""
    71 var info_str=""
    72 for(var i=0;i<imagePath.length;i++){
    73 imagePath_str+=imagePath[i]+"|";
    74 linkPath_str+=linkPath[i]+"|";
    75 info_str+=textInfo[i]+"|";
    76 }
    77 document.writeln("<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http:\/\/fpdownload.macromedia.com\/pub\/shockwave
    78
    79 \/cabs\/flash\/swflash.cab#version=7,0,0,0\" width=\"382\" height=\"288\" id=\"flash2\" align=\"middle\">");
    80 document.writeln("<param name=\"allowScriptAccess\" value=\"sameDomain\" \/>");
    81 document.writeln("<param name=\"movie\" value=\"http://www.webdm.cn/images/20101015/5/mediaFlash.swf\" \/>");
    82 document.writeln("<param name=\"quality\" value=\"high\" \/>");
    83 document.writeln("<param name=\"bgcolor\" value=\"#ffffff\" \/>");
    84 document.writeln("<param name=\"FlashVars\" value=\"ppurl="+imagePath_str+"&pplink="+linkPath_str+"&pptext="+info_str+"\" \/>");
    85 document.writeln("<embed src=\"http://www.webdm.cn/images/20101015/5/mediaFlash.swf\" quality=\"high\" width=\"382\" height=\"288\" name=\"flash
    86
    87 \" align=\"middle\" allowScriptAccess=\"sameDomain\" type=\"application\/x-shockwave-flash\" pluginspage=\"http:\/\/www.macromedia.com\/go
    88
    89 \/getflashplayer\" \/>");
    90 document.writeln("<\/object>");
    91 </SCRIPT>
    92
    93 </center>
    94
    95
    96 <br><br>
    97 <table width="500" height="138" border="0" align="center" cellpadding="0" cellspacing="0">
    98 <tr>
    99 <td height="138" align="center"><br />
    100 <p><a href="http://www.webdm.cn">网页代码站</a> - 最专业的网页代码下载网站 - 致力为中国站长提供有质量的网页代码!</p>
    101 <p></p>
    102 <p></p>
    103 <p><br />
    104 </p></td>
    105 </tr>
    106 </table>
    107 </BODY></HTML>

    文章来自:http://www.webdm.cn/webcode/12bee81b-906c-4405-9ac7-6dba924fa612.html

  • 相关阅读:
    iOS开发 -------- transform属性(形变)
    iOS开发 -------- UITableView的编辑
    iOS开发 -------- 九宫格坐标计算
    Alcatraz的安装和使用
    Python实现简单抓取功能
    预备作业:课程基础
    预备作业:课程基础
    预备作业
    oracle常用命令总结
    在Linux下写一个线程池以及线程池的一些用法和注意点
  • 原文地址:https://www.cnblogs.com/webdm/p/1895708.html
Copyright © 2011-2022 走看看