html - JavaScript - open new window and display as a tab (chrome CTRL+N equivalent) -
i need open 'new window' using javascript. window must display page in new window tab instead of simple window.
window.open( "http://google.co.za", null, "toolbar=yes,titlebar=yes,status=yes,menubar=yes,fullscreen=yes,centerscreen=yes" );
produces window:
instead, i'm wondering if it's possible open new window tab inside:
unfortunately, not possible. using window.open() can either open new window providing properties third parameter, have. opens basic browser url displayed.
or can open new tab within current browser not providing window properties in third parameter. consider following
window.open("http://google.com")
adds new tab current browser.
from can tell, , have tested, not possible both.
Comments
Post a Comment