机灵一动,参考 marvellous 版主将 flash 文件作为表格背景的方法,
可以实现摭屏 flash 右键菜单功能.
不过还是有个缺点,就是不能对flash进行点击等交互操作了.
[code]<table border=0 width=550 height=400 align=center oncontextmenu=window.event.returnValue=0>
<tr><td><div style="position:relative;z-index:-1">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="550" height="400">
<param name="movie" value="http://gg.blueidea.com/2005/www/533-104.swf" />
<param name="wmode" value="transparent" />
</object>
</div><td></tr>
</table>[/code]
又来一个实例,这个可以对 flash 进行交互操作:
[code]<table border=0 width=550 height=400 align=center oncontextmenu=window.event.returnValue=0>
<tr><td>
<button disabled style="border:0">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="550" height="400">
<param name="movie" value="http://gg.blueidea.com/2005/www/533-104.swf" />
<param name="wmode" value="transparent" />
</object>
</button>
<td></tr>
</table>[/code]
又一方法,网上找到的:
[code]<div style="width:550;height:400;position:absolute;background:#ffffff;filter:alpha(opacity=0)" oncontextmenu="return false"></div>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="550" height="400">
<param name="movie" value="http://gg.blueidea.com/2005/www/533-104.swf" />
<param name="wmode" value="transparent" />
</object>[/code]