JavaScript的" resizeTo"功能Chrome和Opera不工作 [英] The javascript "resizeTo" function not working in Chrome and Opera

查看:163
本文介绍了JavaScript的" resizeTo"功能Chrome和Opera不工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

该resizeTo(即允许设置一个新的高度/宽度值)函数在Firefox和Internet Explorer的伟大工程,无法在Chrome和Opera在所有的工作。

The resizeTo (that allows setting a new height/width value) function works great on Firefox and Internet Explorer and doesn't work at all on Chrome and Opera.

有没有不相同,在所有浏览器上运行?另一个函数

Is there another function that does the same and works on all the browsers?

感谢您,

问候

推荐答案

没有,没有其它的功能。

No, there isn't another function.

resizeTo 方法默认情况下,在多个浏览器禁用了,我知道,它也可以手动在Firefox中禁用。

The resizeTo method is disabled by default in several browsers, and I know that it can also be manually disabled in Firefox.

它已被广泛滥用,因此大多数浏览器厂商认为它应该被禁用,或至少一个用户可控制的选项。

It has been widely misused, so most browser vendors feel that it should be disabled, or at least a user controllable option.

这篇关于JavaScript的" resizeTo"功能Chrome和Opera不工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆