包括/实现SWFObject
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了包括/实现SWFObject相关的知识,希望对你有一定的参考价值。
Just to include and implement the SWFObject to an html body from a generic "/js/" directory with some basic varibles.[applies to OLD version of SWF Object]
<script src="js/swfobject.js" language="javascript"></script> <div id="flashContent"></div> <script type="text/javascript"> // <![CDATA[ var so = new SWFObject("flash/intro.swf?<?php echo rand(0,1000); ?>", "intro", "100%", "100%", "8", "#ffffff"); so.addParam("wmode", "transparent"); so.addParam("allowScriptAccess","always"); so.addVariable("location","Manhattan New York"); so.write("flashContent"); // ]]> </script>
以上是关于包括/实现SWFObject的主要内容,如果未能解决你的问题,请参考以下文章