English 中文(简体)
如何再利用以前由另一页打开的窗口
原标题:In Javascript, how to reuse a window previously opened by another page

我有一个窗口,用javascript打开另一个儿童窗口,载于标准window. open(“http://foobar”, 姓名”。 如果我用同一名称再次开张,就重新使用窗户。 这是我所希望的。

然而,如果原始窗口关闭,我希望能够重新开放,并拥有窗户。 打开以前打开的儿童窗口。 不幸的是,由于这是一个新的家长窗口,它将打开另一个儿童窗口(它会习惯和正确重复使用)。

这里是否有任何人知道如何控制以前的儿童窗口,以便我能够避免使更多的窗口成为必要的窗口?

在幕后,这一问题的驱动因素是: 我有一个java方案,它将定期开放不同的网站,我不想强迫大量tab或窗户。 指挥线方案不允许你再利用窗户或宣布目标;哈瓦特允许你宣布目标。 我在图上将写一个小的java书写页,该页在一个特别命名的窗口上开了一个页,然后关闭。 你们想要看到一个新页,那页在你的新页上倒过。 然而,我感到沮丧的是,目标似乎与创造这些目标的窗口有关。

因此,如果你们有与我的实际问题相关的想法,我也感兴趣。

最佳回答

取消浏览器所需时间少于尝试控制浏览器的各种方式。

问题回答

暂无回答




相关问题
selected text in iframe

How to get a selected text inside a iframe. I my page i m having a iframe which is editable true. So how can i get the selected text in that iframe.

How to fire event handlers on the link using javascript

I would like to click a link in my page using javascript. I would like to Fire event handlers on the link without navigating. How can this be done? This has to work both in firefox and Internet ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Clipboard access using Javascript - sans Flash?

Is there a reliable way to access the client machine s clipboard using Javascript? I continue to run into permissions issues when attempting to do this. How does Google Docs do this? Do they use ...

javascript debugging question

I have a large javascript which I didn t write but I need to use it and I m slowely going trough it trying to figure out what does it do and how, I m using alert to print out what it does but now I ...

Parsing date like twitter

I ve made a little forum and I want parse the date on newest posts like twitter, you know "posted 40 minutes ago ","posted 1 hour ago"... What s the best way ? Thanx.

热门标签