Peter Paiste
Peter Paiste

Reputation: 29

Functionality of window.open() in google chrome

I am not a very experienced javascript programmer by any means, but I am trying to prototype something for design purposes and I need some help. Here are some questions I have about window.open() in chrome

  1. How do I get the page to open in a new window. Not just another chrome tab.
  2. Is it possible for me click a link in one window and have it open in some other window already open on my browser.
  3. If I can open it in another window it is possible to specify which tab. Whether it be a tab that's already open or opening a new tab.

Thanks

Upvotes: 3

Views: 9285

Answers (1)

AGE
AGE

Reputation: 3792

I would like to quote other answers from helpful posts that will go more in depth to what you need to know, all the answers here are in javascript:

  1. Open a URL in a new tab also Open URL in New Window with Javascript

  2. open url in new tab or reuse existing one whenever possible also I want to open a new tab instead of a popup window

  3. You cannot open new windows or new tabs that your Javascript does not already know about because its outside its scope.

I hope this helps, please feel free to comment if you need anything further!

Upvotes: 2

Related Questions