The javascript “resizeTo” function not working in Chrome and Opera

前端 未结 3 1907
我寻月下人不归
我寻月下人不归 2020-11-30 14:13

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 th

3条回答
  •  盖世英雄少女心
    2020-11-30 15:03

    No, there isn't another function.

    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.

提交回复
热议问题