图片显示

来源:互联网 发布:知乎 梁金星 编辑:程序博客网 时间:2024/04/29 00:27

<table width="328" border="0" cellspacing="0" cellpadding="0" style="background:url(http://mat1.qq.com/sports/2008/typic2_08.jpg) repeat-x top; border:1px solid #B3D4EF">
      <tr>
        <td height="270" align="center" ><script type='text/javascript' src='http://mat1.qq.com/www/js/swfobjectopt.js'></script><div id="dplayer4" style="margin:0px auto;padding:0px;width:316px;height:258;">不支持flash</div>
<script language="javascript" type="text/javascript">
var titles = "全满贯!费德勒横扫黑马法网登顶|精英赛丁俊晖0-6完败丢冠|NBA-湖人2-0加时胜魔术科比29分|F1-巴顿再封王平舒马赫纪录"
var imgs = "http://img1.qq.com/sports/pics/18186/18186008.jpg|http://img1.qq.com/sports/pics/18173/18173790.jpg|http://img1.qq.com/sports/pics/18191/18191528.jpg|http://img1.qq.com/sports/pics/18178/18178783.jpg"
var urls = "http://sports.qq.com/tennis/09FO/index.htm|http://sports.qq.com/others/tableb/snooker.htm|http://sports.qq.com/nba/|http://sports.qq.com/f1/index.htm"
    //alert(urls)
var pw = 316;
var ph = 258;
var sizes = 12;//链接文字大小
var Times = 4000 //间隔时间
var umcolor = 0x958683;//按纽颜色
var btnbg =0xD52100//选中按牛色
var txtcolor =0xFFFFFF//文本颜色
var flash = new SWFObject("http://mat1.qq.com/2008/flash/focusplay/focus1.swf", "mymovie", pw, ph, "7", "");
    flash.addParam("allowFullScreen", "true");
    flash.addParam("allowScriptAccess", "always");
    flash.addParam("quality", "high");
    flash.addParam("wmode", "Transparent");
    flash.addVariable("pw", pw);
    flash.addVariable("ph", ph);
    flash.addVariable("Times", Times);
    flash.addVariable("sizes", sizes);
    //flash.addVariable("umcolor", umcolor);//不需要可以注释掉
    flash.addVariable("btnbg", btnbg);//不需要可以注释掉
    flash.addVariable("txtcolor", txtcolor);//不需要可以注释掉
    flash.addVariable("urls", urls);
    flash.addVariable("titles", titles);
    flash.addVariable("imgs", imgs);
flash.write("dplayer4");
</script></td>
      </tr>
    </table>