本帖最后由 cnkjr 于 2009-5-22 19:23 编辑
- <SCRIPT src="ad/js/sinaflash.js" type=text/javascript></SCRIPT>
- <!-- 顶通_810x90 begin -->
- <div class="topAD" style="height: 100px;">
- <style type="text/css">
- #top_bar{clear:both;width:810px;text-align:left;height:100px;margin:0 auto;}
- #top_bar .lPart{float:left;display:inline;width:120px;height:90px;padding:3px 10px 0 2px;*padding:3px 10px 0 2px;_padding:3px 10px 0 2px;}
- #top_bar .rPart{float:left;display:inline;width:120px;height:90px;padding:3px 0 0 8px;}
- #top_bar .cPart{float:left;display:inline;width:540px;height:90px;padding-top:5px;}
- -->
- </style>
- <div id="top_bar">
- <div class="lPart">
- <!--左侧翻牌开始-->
- <div id="FP_L"></div>
- <script type="text/javascript">
- <!--
- var fp_pics="",fp_links="";
- //广告图片与链接
- <!--6911D5189F8C-->
- fp_pics += "§"+"ad/images/l1.jpg"; //广告图片地址
- fp_links += "§"+escape("bbs/thread-215-1-1.html"); //广告链接地址
- <!--5ED706AF8984-->
- fp_pics += "§"+"ad/images/l2.jpg"; //广告图片地址
- fp_links += "§"+escape("bbs/thread-215-1-1.html"); //广告链接地址
- fp_pics=fp_pics.substring(1);
- fp_links=fp_links.substring(1);
- //默认图片与链接
- <!--071E2CC49236-->
- var def_pic = "ad/images/l1.jpg"; //默认图片地址
- var def_link = escape("bbs/thread-215-1-1.html"); //默认图片链接
- <!--$$ ae/GAME/A $-->
- var FP = new sinaFlash("ad/flash/picshow.swf", "FP_L_swf", 125, 95, "7", "#FFFFFF", false, "High");
- FP.addParam("menu", "false");
- FP.addParam("wmode", "transparent");
- FP.addVariable("ad_num", "2"); //翻牌数量
- FP.addVariable("pic_width", "120"); //图片宽
- FP.addVariable("pic_height", "90"); //图片高
- FP.addVariable("flip_time", "300"); //翻牌速度
- FP.addVariable("pause_time", "4000"); //间隔时间
- FP.addVariable("wait_time", "1000"); //等待时间
- FP.addVariable("pics", fp_pics); //广告图片地址
- FP.addVariable("urls", fp_links); //广告链接地址
- FP.addVariable("def_pic", def_pic); //默认图片地址
- FP.addVariable("def_link", def_link); //默认链接地址
- FP.write("FP_L");
- //-->
- </script>
- <!--左侧翻牌结束-->
- </div>
- <div class="cPart">
- <!-- 540x90轮播通栏广告 开始 -->
- <div id="6292"></div>
- <script language="javascript" type="text/javascript" src="ad/js/rotator.js"></script>
- <script language="javascript" type="text/javascript">
- //<![CDATA[
- var rad = new Array();
- var nad = new Array();
- rad.width = 540; //广告宽度
- rad.height = 90; //广告高度
- rad.num = 2; //轮播数量
- //垫底广告
- <!--垫底广告开始-->
- <!--ADS:PDPS000000006292_1-->
- nad.push(["ad/images/2009zk1.gif", "http://lm.chinaacc.com/ManageCheck.asp?adsid=75&UnionID=923"]);
- //nad.push(["ad/images/540-90.gif", "http://member.dongao.com/click.html?url=http://cms.dongao.com/2008zt/5zhe/index.html&uid=17120255&bid=86"]);
- <!--垫底广告结束-->
- new RotatorAD(rad,nad,'6292');
- //]]>
- </script>
- <!-- 540x90轮播通栏广告 结束 -->
- </div>
- <div class="rPart">
- <!--右侧翻牌开始-->
- <div id="FP_R"></div>
- <script type="text/javascript">
- <!--
- var fp_pics="",fp_links="";
- //广告图片与链接
- <!--6911D5189F8C-->
- fp_pics += "§"+"ad/images/r1.jpg"; //广告图片地址
- fp_links += "§"+escape("bbs/thread-251-1-1.html"); //广告链接地址
- <!--6911D5189F32-->
- fp_pics += "§"+"ad/images/r2.jpg"; //广告图片地址
- fp_links += "§"+escape("bbs/thread-251-1-1.html"); //广告链接地址
- fp_pics=fp_pics.substring(1);
- fp_links=fp_links.substring(1);
- //默认图片与链接
- <!--8DEFB2AAD2BE-->
- var def_pic = "ad/images/r1.jpg"; //默认图片地址
- var def_link = escape("bbs/thread-251-1-1.html"); //默认图片链接
- var FP = new sinaFlash("ad/flash/picshow.swf", "FP_R_swf", "125", "95", "7", "#FFFFFF", false, "High");
- FP.addParam("allowScriptAccess", "always");
- FP.addParam("menu", "false");
- FP.addParam("wmode", "transparent");
- FP.addVariable("ad_num", "2"); //翻牌数量
- FP.addVariable("pic_width", "120"); //图片宽
- FP.addVariable("pic_height", "90"); //图片高
- FP.addVariable("flip_time", "300"); //翻牌速度
- FP.addVariable("pause_time", "4000"); //间隔时间
- FP.addVariable("wait_time", "2000"); //等待时间
- FP.addVariable("pics", fp_pics); //广告图片地址
- FP.addVariable("urls", fp_links); //广告链接地址
- FP.addVariable("def_pic", def_pic); //默认图片地址
- FP.addVariable("def_link", def_link); //默认链接地址
- FP.write("FP_R");
- //-->
- </script>
- <!--右侧翻牌结束-->
- </div>
- </div>
- </div>
- <!-- 顶通_810x90 end -->
复制代码 演示:http://www.cnkjr.cn |