The attribute targetallows you to specify in which window to open the link. You have these special keywords that you can put in an attribute:
_blank - new window
_self - same window (default)
_parent - the window which opened the current window, or the parent frame in a frameset
_top - overload the entire page, usually used in a frame context
"string" - in the window with an id of "string", or a new window if "string" is not the id of a current window
So here is your HTML:
<a href="http://mywebapp.com/contact" target="_blank">Contact</a>
:
var myUrl = "http://mesh.typepad.com";
var tBrowser = top.document.getElementById("content");
var tab = tBrowser.addTab(myUrl);
tBrowser.selectedTab = tab;
: http://mesh.typepad.com/blog/2004/11/creating_a_new_.html
, ... , FF , dev, , .