腾讯宽频的图片新闻效果
<script language=javascript>
//-------定义图片路径等参数-------------//
//定义大图的路径,
var bigPic3="http://img1.qq.com/bb/pics/4700/4700089.jpg";
var bigPic2="http://img1.qq.com/bb/pics/4641/4641683.jpg";
var bigPic0="http://img1.qq.com/bb/pics/4682/4682794.jpg";
var bigPic1="http://img1.qq.com/bb/pics/4683/4683173.jpg";
//小图路径
var smallPic0 ="http://mat1.qq.com/bb/images/home/index/20061101/no1.jpg";
var smallPic1 ="http://mat1.qq.com/bb/images/home/index/20061101/no2.jpg";
var smallPic2 ="http://mat1.qq.com/bb/images/home/index/20061101/no3.jpg";
var smallPic3="http://mat1.qq.com/bb/images/home/index/20061101/no4.jpg";
//大图的点击后的URL
var PicURL3="http://www.ishanliang.cn/";
var PicURL2="http://bb.qq.com/a/20070703/000001.htm";
var PicURL0="http://bb.news.qq.com/zt/2007/shimianmaifu/index.htm";
var PicURL1="http://bb.qq.com/a/20070705/000023.htm";
//标题
var t3="2007仁和闪亮快乐男声全国总决赛";
var t2="帅哥靓女师生恋 韩片《那小子真酷》";
var t0="暑期强档即将上线 独家放送《十面埋妇》";
var t1="范冰冰任贤齐新鲜组合 《合约情人》片花 ";
//详细
var describe3="快男“4进3”的比赛结果我们无法预料,既然无法预料那么咱们就不如来看看“三甲诞生之夜”的几大“噱头”卖点和“爆点”……";
var describe2="正值青春多梦爱做怪的女子高中某年级某班,新到一位年轻的帅哥老师,女学生们都想把老师变成自己的恋人……";
var describe0="一个自卑感的人正在偷偷创作一部小说,他每日偷偷采访各种雇佣私人侦探查丈夫是否有外遇的女性……";
var describe1="启发念完大学,留在北京工作,是名高级白领,他最崇拜世界首富盖茨和“股神”巴菲特……";//
var t=t0+"[|]"+t1+"[|]"+t2+"[|]"+t3;
var bigPicURL=bigPic0+"[|]"+bigPic1+"[|]"+bigPic2+"[|]"+bigPic3;
var smallPicURL=smallPic0+"[|]"+smallPic1+"[|]"+smallPic2+"[|]"+smallPic3;
var PicURL=PicURL0+"[|]"+PicURL1+"[|]"+PicURL2+"[|]"+PicURL3;
var describe = describe0+"[|]"+describe1+"[|]"+describe2+"[|]"+describe3;
//
document.write("/
<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0' width='456' height='277' ID=FSCommand NAME='focus_one' align='middle'>/
<param name='allowScriptAccess' value='sameDomain' />/
<param name='movie' value='http://mat1.qq.com/bb/flash/2006focus.swf' />/
<param name='FlashVars' value='bigPicURL=" + bigPicURL + "&smallPicURL=" + smallPicURL + "&t="+t+"&PicURL="+PicURL+"&describe="+describe+"'/>/
<param name='quality' value='high' />/
<param name='bgcolor' value='#ffffff' />/
<embed src='http://mat1.qq.com/bb/flash/2006focus.swf' FlashVars='bigPicURL=" + bigPicURL + "&smallPicURL=" + smallPicURL + "&t="+t+"&PicURL="+PicURL+"&describe="+describe+"' quality='high' bgcolor='#ffffff' width='456' height='277' name='focus' swLiveConnect='true' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />/
</object>/
");
</script>
转载于:https://www.cnblogs.com/ajuanabc/archive/2008/10/30/2463521.html