调整窗口大小等看起来像弹出窗口 [英] Resize window etc to look like a pop-up

查看:85
本文介绍了调整窗口大小等看起来像弹出窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚开始学习JavaScript,到目前为止我喜欢它!


我想在我的易趣列表中添加一些JS,手动打开弹出窗口

窗口。它工作正常,但是JS被Ebay拒绝了。


如果我不能在我的列表中使用JS,有没有办法使用JS调整大小

当前窗口,并删除工具栏等,所以它看起来像弹出窗口?

-

Nigel Mercier


请从我的回复地址中删除NOSPAM

I''m just starting to learn JavaScript, so far I like it!

I want to add some JS to my Ebay listings, to manually open a pop-up
window. It works OK, but the JS gets rejected by Ebay.

If I can''t use JS in my listing, is there a way of using JS to resize a
current window, and remove the toolbars etc, so it looks like a pop-up?
--
Nigel Mercier

Please remove NOSPAM from my return address

推荐答案

Nigel Mercier?写道:

Nigel Mercier ? wrote:

我想在我的Ebay列表中添加一些JS,手动打开一个弹出窗口。它工作正常,但是JS被Ebay拒绝了。

如果我在我的列表中不能使用JS,有没有办法使用JS来调整当前窗口的大小


是的......但它非常讨厌并被大多数不错的浏览器阻止。

,并删除工具栏等,所以它看起来像弹出窗口?
I want to add some JS to my Ebay listings, to manually open a pop-up
window. It works OK, but the JS gets rejected by Ebay.

If I can''t use JS in my listing, is there a way of using JS to resize a
current window
Yes... but its very annoying and is blocked by most decent browsers.
, and remove the toolbars etc, so it looks like a pop-up?




No.


-

David Dorward http://dorward.me.uk/


在comp中.lang.javascript,David Dorward写道:
In comp.lang.javascript, David Dorward wrote:
[resize windows]非常烦人,被大多数体面的浏览器阻止。
[resize windows] very annoying and is blocked by most decent browsers.




也许我应该提到我想在用户点击一个链接时打开一个新窗口,这就是那个我要调整大小等的窗口。


如果失败了,有没有办法使document.close()方法工作

没有带来警告提示?然后我可以使用一个中间的

窗口来启动弹出窗口。


欢迎任何其他建议。

-

Nigel Mercier


请从我的回信地址中删除NOSPAM



Perhaps I should mention that I want to open a new window when the user
clicks a link, and it''s that window that I want to resize etc.

Failing that, is there a way to make the document.close() method work
without bringing up a warning prompt? I could then use an intermediate
window to launch the pop up.

Any other suggestions welcome.
--
Nigel Mercier

Please remove NOSPAM from my return address


城市睡觉时,Nigel Mercier? < ni ********************* @ virgin.net>

狂热地输入:
While the city slept, Nigel Mercier ? <ni*********************@virgin.net>
feverishly typed:
在comp.lang.javascript中,David Dorward写道:
In comp.lang.javascript, David Dorward wrote:
[resize windows]非常烦人,被大多数不错的浏览器阻止。
[resize windows] very annoying and is blocked by most decent
browsers.


也许我应该提一下,当
用户点击一个链接时,我想打开一个新窗口,而那个窗口我要调整大小等等。

如果失败,那就是有没有办法让document.close()方法工作
而不会出现警告提示?然后我可以使用中间窗口启动弹出窗口。

欢迎任何其他建议。



Perhaps I should mention that I want to open a new window when the
user clicks a link, and it''s that window that I want to resize etc.

Failing that, is there a way to make the document.close() method work
without bringing up a warning prompt? I could then use an intermediate
window to launch the pop up.

Any other suggestions welcome.




我认为它'有人阅读常见问题解答的时间:
http:// www .jibbering.com / faq

干杯,

Nige


-

Nigel Moss。


电子邮件地址无效。 ni***@nigenetDOG.org.uk 。带狗出去!
http://www.nigenet.org.uk |抵制E



I think it''s time for someone to read the FAQ''s:
http://www.jibbering.com/faq

Cheers,
Nige

--
Nigel Moss.

Email address is not valid. ni***@nigenetDOG.org.uk. Take the dog out!
http://www.nigenet.org.uk | Boycott E


这篇关于调整窗口大小等看起来像弹出窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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