Solved

Opening 2 or more windows at once!

Posted on 1998-12-05
7
152 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

 
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

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
Find out what you should include to make the best professional email signature for your organization.
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

707 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