日期:2014-05-16  浏览次数:20375 次

IE活动内容的问题
因为很多用户IE设置各种各样.
    不可能说是让用户改IE的设置.

    那么有没有方法.让即使是不允许活动内容的IE.也能运行flash.并且不要弹出哪个让人点击的东西.

    就是让flash直接运行.不论IE限制的问题

------解决方案--------------------
方法1:
test.htm
<script type= "text/javascript ">
var flashURL= "http://zi.csdn.net/2007.06/chuanzhiboke585X60.swf?clickTAG=http://z.csdn.net/gmclick.php%3Fbannerid=1045%26zoneid=183%26source=%26dest=http%3A%2F%2Fevents.csdn.net%2Fczbk%2Fjava%2F ";
var flashWIDTH= "1280 ";
var flashHEIGHT= "230 ";
</script>
<script type= "text/javascript " src= "flash_view.js "> </script>

flash_view.js
document.writeln ( ' <OBJECT classid= "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000 " codebase= "http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0 " WIDTH= '+flashWIDTH+ ' HEIGHT= '+flashHEIGHT+ '> ');
document.writeln ( ' <PARAM NAME=movie VALUE= " '+flashURL+ ' "> ');
document.writeln ( ' <PARAM NAME=wmode VALUE=transparent> ');
document.writeln ( ' <PARAM NAME=loop VALUE=true> ');
document.writeln ( ' <PARAM NAME=quality VALUE=high> ');
document.writeln ( ' <EMBED src= " '+flashURL+ ' " loop=true wmode=opaque quality=high swLiveConnect=FALSE WIDTH= '+flashWIDTH+ ' HEIGHT= '+flashHEIGHT+ ' TYPE= "application/x-shockwave-flash " PLUGINSPAGE= "http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash "> </EMBED> ');
document.writeln ( ' </OBJECT> ');

方法2是.NET的,用短信的方式发个邮箱我,我可以发个DEMO你.