如何将IE浏览器窗口的大小调整为1024 x 768 [英] How do you resize an IE browser window to 1024 x 768

查看:1380
本文介绍了如何将IE浏览器窗口的大小调整为1024 x 768的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Firefox中,您可以在真棒栏中输入以下内容并按Enter键:

In Firefox you can enter the following into the awesome bar and hit enter:

javascript:self.resizeTo(1024,768);

你如何在IE中做同样的事情?

How do you do the same thing in IE?

推荐答案

javascript:resizeTo(1024,768);
vbscript:resizeto(1024,768)

可以在IE7中使用,但考虑使用像

Will work in IE7, But consider using something like

javascript:moveTo(0,0);resizeTo(1024,768);

因为IE7不允许窗口调整大小超出屏幕边界。如果你在1024,768桌面上工作,这就是...

  • Firefox:1024x768窗口,在任务栏后面。如果你放下moveTo部分,窗口的左上角将不会改变位置。(你仍然得到一个1024x768的窗口)

  • IE7:尽可能接近请求的大小而不是遮挡任务栏或允许窗口的任何部分位于屏幕边框之外。

  • safari:尽可能接近请求的大小而不会遮挡任务栏或允许窗口的任何部分超出屏幕边框,但你可以省略moveTo部分。 Safari将移动窗口的左上角。

  • Opera:没有任何反应。

  • Chrome:没有任何反应。
  • because IE7 doesn't allow the window to "resize" beyond the screen borders. If you work on a 1024,768 desktop, this is what happens...

    • Firefox: 1024x768 Window, going behind the taskbar. If you drop the moveTo part, the top left corner of the window won't change position.(You still get a 1024x768 window)
    • IE7: As close as possible to the requested size without obscuring the taskbar or allowing any part of the window to lie beyond the screen borders.
    • safari: As close as possible to the requested size without obscuring the taskbar or allowing any part of the window to lie beyond the screen borders, but you can ommit the moveTo part. Safari will move the top left corner of the window for you.
    • Opera: Nothing happens.
    • Chrome: Nothing happens.
    • 这篇关于如何将IE浏览器窗口的大小调整为1024 x 768的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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