首页 新闻 会员 周边 捐助

新浪网7屏翻牌广告代码(按需修改版本) 运行不了呀??

0
[已关闭问题] 关闭于 2010-03-13 22:43

以下运行时代码(运行时老是等待。。。。):

<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>无标题页</title>
    <script src="js/xixi.js" type="text/javascript"></script>
 
   
</head>
<body>


<div id="flipper_div" align="center"></div>
<script type="text/javascript">
<!--
var fp_data = new Array();
 
fp_data.push(["images/01.jpg","http://www.lanrentuku.com/"]);
fp_data.push(["images/02.jpg","http://www.lanrentuku.com/"]);
fp_data.push(["images/03.jpg","http://www.lanrentuku.com/"]);
fp_data.push(["images/04.jpg","http://www.lanrentuku.com/"]);
fp_data.push(["images/05.jpg","http://www.lanrentuku.com/"]);
fp_data.push(["images/06.jpg","http://www.lanrentuku.com/"]);
fp_data.push(["images/07.jpg","http://www.lanrentuku.com/"]);
 
fp_data.push(["images/08.jpg","http://www.lanrentuku.com/"]);
fp_data.push(["images/09.jpg","http://www.lanrentuku.com/"]);
fp_data.push(["images/10.jpg","http://www.lanrentuku.com/"]);
fp_data.push(["images/11.jpg","http://www.lanrentuku.com/"]);
fp_data.push(["images/12.jpg","http://www.lanrentuku.com/"]);
fp_data.push(["images/13.jpg","http://www.lanrentuku.com/"]);
fp_data.push(["images/14.jpg","http://www.lanrentuku.com/"]);
 
var fp_pics="",fp_links="";
var fp_lens = fp_data.length;
for(var i=0; i<fp_lens; i++){
 fp_pics += fp_data[i][0];
 fp_links += escape(fp_data[i][1]);
 if(i%2==0 && i!=fp_lens-1){
  fp_pics += "§";
  fp_links += "§";
 }else if(i%2==1 && i!=fp_lens-1){
  fp_pics += "§_§";
  fp_links += "§_§";
 }
}
var oswf = new guoRenFlash("flipper_v2.swf", "flipper", 960, 90, "7", "#FFFFFF", false, "High");
oswf.addParam("allowScriptAccess", "always");
oswf.addParam("menu", "false");
oswf.addParam("wmode", "opaque");
oswf.addParam("scale", "noscale");
oswf.addVariable("pic_width", "120");
oswf.addVariable("pic_height", "75");
oswf.addVariable("colnum", "7");
oswf.addVariable("hspace", "15");
oswf.addVariable("vspace", "20");
oswf.addVariable("flip_time", "200");
oswf.addVariable("pause_time", "2000");
oswf.addVariable("pics", fp_pics);
oswf.addVariable("urls", fp_links);
oswf.addVariable("rand", "0");
oswf.write("flipper_div");
//-->
</script>

 


    <form id="form1" runat="server">
    <div>
   
    </div>
    </form>
</body>
</html>

国人的主页 国人 | 初学一级 | 园豆:200
提问于:2010-03-13 21:34
< >
分享
所有回答(1)
0

给个demo的下载链接再说

ForFreeDom | 园豆:589 (小虾三级) | 2010-03-13 21:52
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册