473,915 Members | 4,411 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Open multiple URLs

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?
Jul 23 '05 #1
26 12667
"Howard Brazee" <ho****@brazee. net> wrote in message
news:ci******** **@peabody.colo rado.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(htt p);
var win2 = window.open(htt p);
var win3 = window.open(htt p);
}
</script>
</head>
<body>
<a href="javascrip t:Googles()">Go ogles</a>
</body>
</html>
Jul 23 '05 #2

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(htt p);
var win2 = window.open(htt p);
var win3 = window.open(htt p);

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/
Jul 23 '05 #3
"Howard Brazee" <ho****@brazee. net> wrote in message
news:ci******** **@peabody.colo rado.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(htt p);
var win2 = window.open(htt p);
var win3 = window.open(htt p);

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("ht tp://www.yahoo.com/");
window.open("ht tp://www.ask.com/");
location.href = "http://www.Google.com/";
</script>
</body>
</html>
Jul 23 '05 #4
On Wed, 22 Sep 2004 18:33:29 GMT, McKirahan <Ne**@McKirahan .com> wrote:

[snip]
How about this?

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


The first two statements will be blocked in most modern browsers,
including IE6 SP2.

Mike
Please trim your quotes.

--
Michael Winter
Replace ".invalid" with ".uk" to reply by e-mail.
Jul 23 '05 #5

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

<< Attached file: 14465.htm (289 bytes) >>


Opera gets a blank screen.
FireBird opens up Google and nothing else.

I didn't test with any other browsers.
Jul 23 '05 #6
"Howard Brazee" <ho****@brazee. net> wrote in message
news:ci******** **@peabody.colo rado.edu...

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

<< Attached file: 14465.htm (289 bytes) >>


Opera gets a blank screen.
FireBird opens up Google and nothing else.

I didn't test with any other browsers.


Don't you mean FireFox nit FireBird?

I guess it only works under older IE; I'm using IE5.5.

Here's another version that opens three equal size windows (in IE).

<html>
<head>
<title>openURLx .htm</title>
<script type="text/javascript">
var urls = new Array;
urls[0] = "http://www.Google.com/";
urls[1] = "http://www.yahoo.com/";
urls[2] = "http://www.ask.com/";
var wide = screen.availWid th * 0.33;
var high = screen.availHei ght;
moveTo(0,0);
resizeTo(wide,h igh);
var what = "menubar=yes,sc rollbars=yes,to olbar=yes,statu s=yes";
what += "width=" + wide + ",height=" + high + ",top=0,lef t=";
var win1 = open(urls[1],"w1",what+wide );
var win2 = open(urls[2],"w2",what+(wid e+wide));
location.href = urls[0];
focus();
</script>
</head>
<body>
</body>
</html>
Jul 23 '05 #7

On 22-Sep-2004, "McKirahan" <Ne**@McKirahan .com> wrote:
Opera gets a blank screen.
FireBird opens up Google and nothing else.

I didn't test with any other browsers.
Don't you mean FireFox nit FireBird?


Old habits die hard.
I guess it only works under older IE; I'm using IE5.5.

Here's another version that opens three equal size windows (in IE).

<< Attached file: 14467.htm (675 bytes) >>


No change in what happens with these browsers. Both are set up as tabbed
browsers, I would like to click on that button and pull up 3 tabs.

Actually, what I will be doing will be to click on a page with the attached
file. I want wednesday.html to open today's links.

Jul 23 '05 #8
Howard Brazee wrote:
I would like to click on a URL of a html document that will open several
URLs at once for me.


<http://w3.org/TR/html4/present/frames.html>
--
David Dorward <http://blog.dorward.me .uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Jul 23 '05 #9
On Wed, 22 Sep 2004 19:54:52 GMT, Howard Brazee <ho****@brazee. net> wrote:

[snip]
No change in what happens with these browsers. Both are set up as
tabbed browsers, I would like to click on that button and pull up 3 tabs.
Predicted in my previous post.
Actually, what I will be doing will be to click on a page with the
attached file. [...]


This group is text-only group. Do not add attachments. If you need to post
code, either copy it into your post (wrapping long code manually), or
preferably, place it online and supply a URL.

Mike

--
Michael Winter
Replace ".invalid" with ".uk" to reply by e-mail.
Jul 23 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
3238
by: jonathan.beckett | last post by:
Hi All, For the past few months I have been working on an open source Apache/PHP/MySQL content management system - and have recently made it available for download. It's still very much a work in progress (current release version is 0.4.6), but you should get a very good idea of what it's about by visiting the site (which uses it, funnily enough), or downloading a copy of it and trying it out.
4
6370
by: Lev Altshuler | last post by:
Hi, When reading from email message using Net::POP3 (or other means), I need my perl program to open URLs incuded into the message. In other words, I need the program to click links in the message. So far I have not found the solution for that either in Net::POP3 or anywhere else. Does anyone have an idea how to do that? Thanks, Lev
0
3092
by: Craig Westerman | last post by:
I'm trying to help a friend with this. When I run this everything is fine SELECT * from clicks, urls WHERE clicks.url=urls.url AND urls.description IS NULL The clicks table has 31 instances of url that match 5 instances of url in the urls table. When I run the following I get a syntax error
1
2381
by: Michael Ferrier | last post by:
Hi, I've used fopen() extensively to open web pages. I've found that there is a small minority of web pages that open fine in a browser, but are inaccessible using fopen(). Here are two such URLs: http://www.homes.com/ http://www.dolbyproperties.com/
2
4424
by: Geoff collishaw | last post by:
I'm trying to create a form where: (a) The user is given a list or Reporting Services reports in a listbox (b) When the user clicks on a button, then these reports are opened in SEPARATE windows. So, if there's three reports listed then 3 extra browser windows will open IN ADDITION to the one that's already open. I can use the following line:
0
286
by: Ayoa | last post by:
In my ASP.net project, I have a group of URLs (stored in a C# arraylist). I will like to send all of these URLs to new browser windows at the SINGLE click of a button. I know that clientside javascript will be needed. Does anyone have any code that does this? Thanks
1
1367
by: Ayoa | last post by:
In my ASP.net project, I have a group of URLs (stored in a C# arraylist). I will like to send all of these URLs to new browser windows at the SINGLE click of a button. I know that clientside javascript will be needed. Does anyone have any code that does this? AyoA
15
6013
Markus
by: Markus | last post by:
What i want to do: Get urls from the database and echo them out into a multiple columned table i.e. 4 pictures per row (recently uploaded table) MY problem is: I have, in my MySQL database, the urls to the pictures that have been uploaded. I'm not really sure how i would get the urls to go into multiple rows... i can do it as a single row by writing this $db = "mahcuz";
2
2006
by: ShashiGowda | last post by:
Hey there i made a script to download all images from a web site but it runs damn slow though I have a lot of bandwidth waiting to be used please tell me a way to use urllib to open many connections to the server to download many pics simultaneously.... Any off question suggestions are also ok...
0
9881
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10923
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
11066
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9732
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
8100
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5943
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4778
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4344
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3368
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.