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:

enter image description here

instead, i'm wondering if it's possible open new window tab inside: enter image description here

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

Popular posts from this blog

php - trouble displaying mysqli database results in correct order -

depending on nth recurrence of job in control M -

sql server - Cannot query correctly (MSSQL - PHP - JSON) -