<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia...,0,0,0' width='400px' height='340px'> <param name='movie' value='http://blog.ku6.com/ku6_v.... /> <param name='quality' value='high' /> <embed src='http://blog.ku6.com/ku6_v.... quality='high' pluginspage='http://www.macromedia.com/... type='application/x-shockwave-flash' width='400' height='340'> </embed> </object> |
b. 修改后的代码
<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia...,0,0,0' width='400px' height='340px'> <param name='movie' value='http://blog.ku6.com/ku6_v.... /> <param name='wmode' value='transparent'> <param name='quality' value='high' /> <embed wmode='transparent' src='http://blog.ku6.com/ku6_v.... quality='high' pluginspage='http://www.macromedia.com/... type='application/x-shockwave-flash' width='400' height='340'> </embed> </object> |
2. 修改position属性[[BR]][[BR]]
把用来覆盖Flash的Div层设置position:fixed。由于ie不支持fixed,所以这种方式只适用于Firefox。
a. 示例代码
<html> <head> <title>div cover flash with fixed property</title> </head> <body> <div id="cover_div" style="position:fixed;width:100px;height:100px;background-color:blue;">I cover the Flash.</div> <object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia...,0,0,0' width='400px' height='340px'> <param name='movie' value='http://blog.ku6.com/ku6_v.... /> <param name='quality' value='high' /> <embed src='http://blog.ku6.com/ku6_v.... quality='high' pluginspage='http://www.macromedia.com/... type='application/x-shockwave-flash' width='400' height='340'> </embed> </object> </body> </html> |
<html> |
如对本文有疑问,请提交到交流论坛,广大热心网友会为你解答!! 点击进入论坛