How do I open many new windows in Javascript?
It's amazing how many new windows can be opened with Javascript. I found many places on the internet that show you how to open a new browser window using Javascript, but I want to open a new UNIQUE window. For example.
I have two links on the page. the user clicks on both links and they both open in the same window. I want each link to open a new window with JAVASCRIPT.
Another example. I just opened a window with javascript and I have a link inside my newly opened window. I click on the link and it opens in the same window. I want to jump out of this window with JAVASCRIPT, DO NOT use the same window.
reference
source to share
Like the previous poster, you want window.open (...)
var WindowObjectReference = window.open(strUrl, strWindowName [, strWindowFeatures]);
https://developer.mozilla.org/En/DOM/Window.open
Make sure you have a different "strWindowName" for each call, as this determines which window the URL opens in.
source to share