Solved

Opening 2 or more windows at once!

Posted on 1998-12-05
7
151 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Link not working 6 52
Html split(text) Part2 6 38
Session on Html 8 52
isNaN issue on the Table input text 2 38
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
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…
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …

738 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