【发布时间】:2012-08-03 08:23:07
【问题描述】:
谁能告诉我,为什么下面的 html 代码会使一个 firefox 窗口(在 windows7 上)无法调整大小?
<!doctype html>
<html>
<head>
<title>Flash</title>
<script src="jquery.js"></script>
<script src="swfobject.js"></script>
<script type="text/javascript">
$(document).ready( function() {
swfobject.embedSWF("Menu.swf", "flashdiv", "100%", "100%", "10");
});
</script>
<style>
html,body,#flashdiv
{
width:100%;
height:100%;
margin:0;
padding:0;
overflow:hidden;
}
</style>
</head>
<body><div id="flashdiv"></div></body>
</html>
现场测试用例:http://www.embege.com/misc/ff.html
编辑:我已经尝试禁用所有插件。我也试过firefox beta,但是当我在这个页面时,窗口大小仍然被锁定。
【问题讨论】:
-
makes a firefox window unresizable是什么意思?浏览器内部没有任何东西可以控制它。 -
但确实如此。如果我抓住浏览器窗口的边缘并开始拖动。它立即弹回原来的位置
-
对我来说没问题。我在 W7 中运行 ff 13
-
在 OSX 上运行 FF14 对我来说没有问题
标签: html flash firefox swfobject