打开多个URL [英] Open multiple URLs

查看:94
本文介绍了打开多个URL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想点击一个html文档的网址,该网址会在

为我打开几个网址。


有人有一个例子将要执行此操作的html文档?

解决方案

" Howard Brazee" <豪**** @ brazee.net>在消息中写道

news:ci ********** @ peabody.colorado.edu ...

我想点击一个URL一个html文档,它会一次为我打开几个
的URL。

是否有人有一个html文档的例子可以做到这一点?



真的吗?


< html>

< head>

< title> openURLs.htm< ; / title>

< script type =" text / javascript">

函数Googles(){

var http =" ; http://www.Google.com/" ;;

var win1 = window.open(http);

var win2 = window.open(http);

var win3 = window.open(http);

}

< / script>

< / head>

< body>

< a href =" javascript :Googles()"> Googles< / a> ;

< / body>

< / html>




2004年9月22日,McKirahan&qu OT; <氖** @ McKirahan.com>写道:

我想点击一个html文档的URL,该文档将在


URL class =post_quotes>一次对我来说。

有人有一个html文档的例子可以做到吗?



真的吗?

<<附件:14462.htm(383字节)>>




我点击了这个附件,它用一个带链接的页面打开了我的浏览器。 />
我点击了该链接并获得了三个独立的Google Windows。我想要的是b $ b非常喜欢自动打开三个窗口并关闭第一个窗口。

我想要我的谷歌窗口


查看代码,我看到以下内容:

函数Googles(){

var http =" http://www.Google.com/" ;;

var win1 = window.open(http);

var win2 = window.open(http);

var win3 = window .open(http);


如何修改代码,以便当我点击这个书签时,我看到的唯一新的

窗口如下?
http://www.Google.com/
http://www.yahoo.com/
http://www.ask.com/


Howard Brazee <豪**** @ brazee.net>在消息中写道

news:ci ********** @ peabody.colorado.edu ...


9月22日 - 2004年,McKirahan <氖** @ McKirahan.com>写道:

我想点击一个html文档的URL,该文件将在


几个URL class =post_quotes>一次对我来说。

有人有一个html文档的例子会这样做吗?
真的吗?

<<附件:14462.htm(383字节)>>



我点击了这个附件,它用一个带

的页面打开浏览器

链接。我点击了该链接并获得了三个单独的Google Windows。我真正喜欢的是b $ b自动打开三个窗口并关闭第一个
。我想要我的谷歌窗口

查看代码,我看到以下内容:
函数Googles(){
var http =" http://www.Google .com /" ;;
var win1 = window.open(http);
var win2 = window.open(http);
var win3 = window.open(http);

如何修改代码,以便当我点击这个书签时,我看到的唯一的
新窗口如下?
http://www.Google.com/
http://www.yahoo.com/
http://www.ask.com/




怎么样?


< html>

< head>

< title> openURLz.htm< / title>

< / head>

< body>

< script type =" text / javascript">

window.open(" http:/ /万维网.yahoo.com /");

window.open(" http://www.ask.com/");

location.href =" ; http://www.Google.com/" ;;

< / script>

< / body>

< / html>


I would like to click on a URL of a html document that will open several URLs at
once for me.

Does someone have an example of a html document that will do this?

解决方案

"Howard Brazee" <ho****@brazee.net> wrote in message
news:ci**********@peabody.colorado.edu...

I would like to click on a URL of a html document that will open several URLs at once for me.

Does someone have an example of a html document that will do this?



Really?

<html>
<head>
<title>openURLs.htm</title>
<script type="text/javascript">
function Googles() {
var http = "http://www.Google.com/";
var win1 = window.open(http);
var win2 = window.open(http);
var win3 = window.open(http);
}
</script>
</head>
<body>
<a href="javascript:Googles()">Googles</a>
</body>
</html>



On 22-Sep-2004, "McKirahan" <Ne**@McKirahan.com> wrote:

I would like to click on a URL of a html document that will open several


URLs at

once for me.

Does someone have an example of a html document that will do this?



Really?

<< Attached file: 14462.htm (383 bytes) >>



I clicked on this attachment, and it opened my browser with a page with a link.
I clicked on that link and got three separate Google Windows. What I would
really like is to open the three windows automatically and close the first one.
And I want my Google Windows to

Looking at the code, I see the following:
function Googles() {
var http = "http://www.Google.com/";
var win1 = window.open(http);
var win2 = window.open(http);
var win3 = window.open(http);

How do I modify the code so that when I click on this bookmark, the only new
windows I see are the following?
http://www.Google.com/
http://www.yahoo.com/
http://www.ask.com/


"Howard Brazee" <ho****@brazee.net> wrote in message
news:ci**********@peabody.colorado.edu...


On 22-Sep-2004, "McKirahan" <Ne**@McKirahan.com> wrote:

I would like to click on a URL of a html document that will open

several URLs at

once for me.

Does someone have an example of a html document that will do this?
Really?

<< Attached file: 14462.htm (383 bytes) >>



I clicked on this attachment, and it opened my browser with a page with a


link. I clicked on that link and got three separate Google Windows. What I would really like is to open the three windows automatically and close the first one. And I want my Google Windows to

Looking at the code, I see the following:
function Googles() {
var http = "http://www.Google.com/";
var win1 = window.open(http);
var win2 = window.open(http);
var win3 = window.open(http);

How do I modify the code so that when I click on this bookmark, the only new windows I see are the following?
http://www.Google.com/
http://www.yahoo.com/
http://www.ask.com/



How about this?

<html>
<head>
<title>openURLz.htm</title>
</head>
<body>
<script type="text/javascript">
window.open("http://www.yahoo.com/");
window.open("http://www.ask.com/");
location.href = "http://www.Google.com/";
</script>
</body>
</html>


这篇关于打开多个URL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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