A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Android Security Essentials Live Lessons
this week in the
Joined: Mar 29, 2008
Sep 29, 2009 06:19:01
var url = "www.google.com";
Whenever newTab() function is executed, google site should be open in the new tab of the same browser. Any ideas ?
Thanks in advance.
Joined: Nov 08, 2001
Sep 29, 2009 06:48:38
You only have window.open to work with.
Joined: Apr 27, 2003
Sep 29, 2009 07:17:15
There is probably no way; as the behavior is in control of the end user.
But this link:
says you can use the following, and it works in IE7/FireFox:
I agree. Here's the link:
How to control size of launced browser from java(i.e. launch as popup).
Open url in a default browser
how to open page in new tab
session issue with multi tabs in a browser
url to open in the default browser of the client
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014