Let's say that I have the following links variables:
var link1;
var link2;
var link3;
And I have a button in window A. 
How can I load these three tabs in a separate window B (one window, not three) when the button is pressed, as below:
$("#button").on('click',function(){ //this button in window A
  window.open(" ");                 //I don't know what to put here
                                    //but should open links 1,2,3 as tabs in window B
});
 
     
    