FF中新窗口的状态栏 [英] statusbar on new window in FF

查看:89
本文介绍了FF中新窗口的状态栏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我设法在IE和MZ中调用以下一点javascript


w = window.open(""," s",''status = no, resizable = no,width = 450,height = 450'');


我得到一个不可调整大小且没有状态栏的窗口。然而FF

给了我一个状态栏,窗口可以调整大小!这是否意味着FF不支持这些功能。或者是否有不同的方式来为
为FF编码?

Andrew Poulos

If I manage to call the following bit of javascript in IE and MZ

w = window.open("", "s", ''status=no,resizable=no,width=450,height=450'');

I get a window that is not resizable and without a statusbar. Yet FF
gives me both a statusbar and the window is resizable! Does this mean
that FF does not support these "features" or is there a different way to
code them for FF?
Andrew Poulos

推荐答案

Andrew Poulos写道:
Andrew Poulos wrote:
如果我设法在IE和MZ中调用以下一点javascript

w = window.open("", " s",''status = no,resizable = no,width = 450,height = 450'');

我得到一个不可调整大小且没有状态栏的窗口。然而FF
给了我一个状态栏,窗口可以调整大小!这是否意味着FF不支持这些功能。或者是否有不同的方法来为FF编码?
If I manage to call the following bit of javascript in IE and MZ

w = window.open("", "s", ''status=no,resizable=no,width=450,height=450'');

I get a window that is not resizable and without a statusbar. Yet FF
gives me both a statusbar and the window is resizable! Does this mean
that FF does not support these "features" or is there a different way to
code them for FF?




这意味着Firefox不允许你删除
$的功能b $ b浏览器,反之亦然。


但是,你应该看看上面的代码在我的Mozilla中产生了什么,

我有的工具栏。令人讨厌的粗鲁。


-

兰迪

comp.lang.javascript常见问题 - http://jibbering.com/faq


Randy Webb写道:
Randy Webb wrote:
Andrew Poulos写道:
Andrew Poulos wrote:
如果我设法在IE和MZ中调用以下一点javascript

w = window.open(""," s",''status = no,resizable = no,width = 450,height = 450'');

我有一个窗口,不可调整大小且没有状态栏。然而FF
给了我一个状态栏,窗口可以调整大小!这是否意味着FF不支持这些功能。或者是否有不同的方式为FF编码?
这意味着Firefox不允许您删除浏览器的功能,反之亦然。
If I manage to call the following bit of javascript in IE and MZ

w = window.open("", "s", ''status=no,resizable=no,width=450,height=450'');

I get a window that is not resizable and without a statusbar. Yet FF
gives me both a statusbar and the window is resizable! Does this mean
that FF does not support these "features" or is there a different way
to code them for FF?
It means that Firefox does not allow you to remove that functionality of
the browser, not vice versa.




我很高兴我不是那些过度艺术类型的人之一,他们花了几个星期的时间来手工制作一个设计(因为那是''他们和他们的用户想要/需要/期望/支付的只是为了让它被宠坏。由于无意中

调整页面大小(导致滚动条出现......)


无论如何阻止开发人员删除此功能*是* a

好​​东西为什么MZ 1.7.5会以其他方式运行?

但是,你应该看看上面的代码在我的Mozilla中产生了什么,用工具栏我有。令人讨厌的粗鲁。



I''m glad I''m not one of those overly arty types who spend weeks and
weeks hand-crafting a design (because that''s what they and their users
want/need/expect/pay for) only to have it "spoilt" it by the inadvertent
resizing of the page (causing scrollbars to appear...)

Anyhow if preventing a developer from removing this functionality *is* a
good thing why is it that MZ 1.7.5 operates otherwise?
But, you should see what that code above produces in my Mozilla, with
the toolbar that I have. Its obnoxiously rude.




嗯,我理解你的意思。示例代码用于说明

目的并且不是真实的。码。这是我用于测试的样本。


有趣的是,如果我使用提供的菜单项

关闭状态栏,那么:

- 新的弹出窗口也没有状态栏

- resizable = no选项现在正在运行


所以如果我我希望调整弹出窗口的大小,关闭弹出窗口,转到

父页面,打开状态栏,重新启动弹出窗口,然后调整大小

弹出窗口...奇怪。

Andrew Poulos



Hmm, I understand what you mean. The example code was for illustrative
purposes and is not "real" code. It''s the sample I''m using for testing.

Interestingly enough if I turn the statusbar off using the menu item
provided, then:
- new popup windows also do not have a statusbar
- the resizable=no option is now functional

So if I want to resize a popup I should, close the popup, go to the
parent page, turn the statusbar on, re-launch the popup, and then resize
the popup... bizarre.
Andrew Poulos


2005年1月10日星期一15:01:05 +1100 Andrew Poulos写道:
On Mon, 10 Jan 2005 15:01:05 +1100 Andrew Poulos wrote:
如果我设法在IE中调用以下的javascript和MZ
w = window.open(""," s",
'' 状态=无,可调整大小=无,宽度= 450,高度= 450 '');
我得到一个不可调整大小且没有状态栏的窗口。然而FF
给了我一个状态栏,窗口可以调整大小!这是否意味着FF不支持这些功能。或者是否有不同的方式来为FF编码?
If I manage to call the following bit of javascript in IE and MZ w = window.open("", "s",
''status=no,resizable=no,width=450,height=450''); I get a window that is not resizable and without a statusbar. Yet FF
gives me both a statusbar and the window is resizable! Does this mean
that FF does not support these "features" or is there a different way
to
code them for FF?



也许是语法问题?

如果语法错误,firefox只是忽略它。

你可能想尝试''status = no''; ''resiazeable = no'';


Perhaps a syntax problem?
If a syntax is wrong, firefox simply ignores it.
you might want to try something like ''status=no'' ; ''resiazeable=no'' ;


这篇关于FF中新窗口的状态栏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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