引用js函数,去掉flash灰色边框.
| 函数: function LoadFlash(url,wmode,width,Height) { document.write( '<embed src="' + url + '" wmode=' + wmode + ' quality="high" pluginspage=http://www.macromedia.com/go/getflashplayer type="application/x-shockwave-flash" width="' + width + '" height="' + Height + '"></embed>'); } |
| 引用函数: <script language='JavaScript' type='text/javascript'>LoadFlash("<flash文件名>","transparent",300,250) |
搞定,可以一试 ...
注意:这种方法有缺陷,遇到fire浏览器的时候,flash内有链接的话点击不起作用 ...
转载说明 -- 更多精彩文章:No.1网络
原载: No.1网络工作室 http://www.noonenet.cn/