JS / 前端技術 / 筆記 · 2007-02-23

Js Flash顯示

<script src="scripts/swfobject.js" type="text/javascript"></script>
<script type="text/javascript">
    var flashvars = {};
    var params = { menu: "false" };
    var attributes = { id:"flash_area" };
    swfobject.embedSWF("flash/index.swf", "flash_area", "640", "800", "9.0.0", "", flashvars, params, attributes);
</script><!--EN - Meta Data-->
<div id="flash_area">
<a href="./"><img src="images/logo.jpg" width="265" height="62"/></a>
</div>