在一个含有Flash的网页中插入Flash会提示: 警告: 不建议使用 getBoxObjectFor() 。 请使用 element.getBoundingClientRect()。 经本人测试,确实是Firefox在含flash的网页上提示,还不知道原因,也没找到解决办法。 Firefox版本:3.0.3 Flash: 10.0 html页面代码: 复制代码 代码如下:<html> <body> <object type="application/x-shockwave-flash" data="Inc/images/clock.swf" width="400" height="400"> <param name="movie" value="Inc/images/clock.swf" /> <param name="wmode" value="transparent"> </object> </body> </html>
推荐阅读
js CSS操作方法集合
//获取元素的真实的,最终的CSS样式属性值的函数 function getStyle(elem,name){ if(elem.style[name]){ return elem.style[name]; }else if(elem.currentStyle){ return elem.currentStyle[name]; }else if(docum>>>详细阅读
本文标题:Firefox getBoxObjectFor getBoundingClientRect联系
地址:http://www.17bianji.com/kaifa2/JS/29259.html
1/2 1