| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 859 人关注过本帖
标题:我用如下代码插入透明flash背景,在IE浏览时鼠标移在上面的时候会出现提示:单 ...
只看楼主 加入收藏
我才是阿军啊
Rank: 1
等 级:新手上路
帖 子:6
专家分:0
注 册:2007-5-14
收藏
 问题点数:0 回复次数:2 
我用如下代码插入透明flash背景,在IE浏览时鼠标移在上面的时候会出现提示:单击激活
我用如下代码插入透明flash背景,在IE浏览时鼠标移在上面的时候会出现提示:单击激活该控件,很是让人讨厌.
我想问问怎么不让它出现这个?

<object classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000 codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0 width=760 height=150>
<param name="movie" value="images/head01.swf">
<param name="quality" value="high">
<param name="wmode" value="transparent">
<embed src="images/head01.swf"
width="760" height="150" quality="high"
pluginspage="
http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash" wmode="transparent"> </embed>
</object>
搜索更多相关主题的帖子: 鼠标 单击 flash 提示 代码 
2007-05-28 10:16
我才是阿军啊
Rank: 1
等 级:新手上路
帖 子:6
专家分:0
注 册:2007-5-14
收藏
得分:0 
MSN是这样做的..可是我看不懂呀,有哪位看懂了的,分析下,谢谢!

[CODE]document.write("<SCRIPT LANGUAGE=\"Javascript\">\n");
document.write("ADFHOST6175=\"http://msn.allyes.com\";\n");
document.write("ADFCID6175=9;\n");
document.write("ADFBID6175=6175;\n");
document.write("ADFLOC='CNHI00';\n");
document.write("ADFUSER6175=\"ad='<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0" WIDTH="'+w+'" HEIGHT="'+h+'"><PARAM NAME="movie" VALUE="'+u+'"><PARAM NAME="wmode" VALUE="'+p+'"><EMBED src="'+u+'" WIDTH="'+w+'" HEIGHT="'+h+'" WMODE="'+p+'" TYPE="application/x-shockwave-flash"></EMBED></OBJECT>';
o.innerHTML=(!i)?'<div style="POSITION:relative;Z-INDEX:1;width:'+w+'px;height:'+h+'px"><DIV style="POSITION:absolute;left:0;top:0;Z-INDEX:2;width:'+w+'px;height:'+h+'px">'+ad+'</div><div style="POSITION:absolute;left:0;top:0;Z-INDEX:3;width:'+w+'px;height:'+h+'px"><OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0" ID="button'+b+'" WIDTH="'+w+'" HEIGHT="'+h+'"><PARAM NAME="movie" VALUE="'+c+'/main/adfshow?local=blank.swf"><PARAM NAME="Wmode" VALUE="Transparent"><EMBED src="'+c+'/main/adfshow?local=blank.swf" WMODE="Transparent" WIDTH="'+w+'" HEIGHT="'+h+'" TYPE="application/x-shockwave-flash" name="button'+b+'"></EMBED></OBJECT></div></div>':ad;
return d;}
document.write("<script language=\"javascript\">\n");
document.write("var flash_fl07051114335757=1;\n");
document.write("var flash_wid07051114335757=728;\n");
document.write("var flash_hei07051114335757=90;\n");
document.write("var flash_adr07051114335757=\"http://msnms.allyes.com/msnms/20070511def/protection_728x90.swf\";</scr"+"ipt>\n");
document.write("<SCRIPT LANGUAGE=\"VBScript\">\n");
document.write("Sub button617507051114335757_FSCommand(ByVal Command,ByVal args)\n");
document.write("Call button617507051114335757_DoFSCommand(command,args)\n");
document.write("End Sub\n");
document.write("</SCR"+"IPT>\n");
document.write("<SCRIPT LANGUAGE=\"JavaScript\">\n");
document.write("function alysxcf(u,w,h,p){if(!p)p=0;var d=\"xc\"+Math.ceil(Math.random()*1000000);document.write(\"<div id=\"+d+\"></div>\");\n");
document.write("alysxc(u,w,h,p,d,ADFHOST6175,\"617507051114335757\");}\n");
document.write("function button617507051114335757_DoFSCommand(command,args){window.open(ADFUSER6175);}\n");
document.write("alysxcf(flash_adr07051114335757,flash_wid07051114335757,flash_hei07051114335757);\n");
document.write("</SCR"+"IPT>");[/CODE]
2007-05-28 11:19
我才是阿军啊
Rank: 1
等 级:新手上路
帖 子:6
专家分:0
注 册:2007-5-14
收藏
得分:0 
[CODE]<script src="show.htm"></script>[/CODE]

2楼为 show.htm的内容!
2007-05-28 11:21
快速回复:我用如下代码插入透明flash背景,在IE浏览时鼠标移在上面的时候会出现提 ...
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.020185 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved