Solved

Opening 2 or more windows at once!

Posted on 1998-12-05
7
149 Views
Last Modified: 2010-04-09
Isn't there a way to open two or more windows at once without html scripting (javascript, vbscript...)?

Something like...

<a href="first.html","second,html" target="_blank">Click this to open first.html in a new window and second.html in another new window without use of extra scripting</a>

And not like...

<a href="javascript:window.open('first.html','first',lotsofconfigurationstuff);window.open('second.html','second',lotsofconfigurationstuff)">Click this to open first.html in a new window and second.html in another new window without use of extra scripting</a>
0
Comment
Question by:superquestions
7 Comments
 
LVL 1

Author Comment

by:superquestions
ID: 1840219
Edited text of question
0
 
LVL 1

Author Comment

by:superquestions
ID: 1840220
Edited text of question
0
 
LVL 4

Expert Comment

by:martinag
ID: 1840221
Not possible.

If you decide to use JavaScript, you can save some space:
* open instead of window.open
* leave second parameter blank
* everything that should not be added to the window will not be added as long as you specify at least something else
* just naming a feature will be treated as yes.

So
window.open('first.html','first','height=70,width=300,toolbar=no,scrollbars=no,location=yes')
can be
open('first.html','','height=70,width=300,location')

Martin
0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 
LVL 3

Expert Comment

by:bigelos
ID: 1840222
If you use frames, you can open in two new frames, thus effectively openning two new windows.
0
 
LVL 1

Accepted Solution

by:
Theophilus earned 0 total points
ID: 1840223
Sorry, it's not possible without some kind of scripting.
0
 
LVL 3

Expert Comment

by:bigelos
ID: 1840224
Theophilus,
Hmmm, where did I see your answer before?  Oh wait!  Martin gave that answer!

superquestions:
I'm sure you know the right thing to do -- reject Theophilus's answer and let Martin or someone else answer.

For shame, Theophilus, you've been around here for a while.  You should know better than that.
0
 

Expert Comment

by:ladams2
ID: 2296855
You should use something like open('window.html','','height=90,width=600,location')
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How can I started with all items collapsed when using Nested Sortable ? 4 32
Javasctipt 2 26
Web forms being filled out by bots 4 35
Place text over image using CSS 6 44
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question