• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 155
  • Last Modified:

Opening 2 or more windows at once!

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
superquestions
Asked:
superquestions
1 Solution
 
superquestionsAuthor Commented:
Edited text of question
0
 
superquestionsAuthor Commented:
Edited text of question
0
 
martinagCommented:
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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
bigelosCommented:
If you use frames, you can open in two new frames, thus effectively openning two new windows.
0
 
TheophilusCommented:
Sorry, it's not possible without some kind of scripting.
0
 
bigelosCommented:
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
 
ladams2Commented:
You should use something like open('window.html','','height=90,width=600,location')
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now