File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
REST with Spring (video course)
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:
url to open in the default browser of the client
Open url in a default browser
How to control size of launced browser from java(i.e. launch as popup).
how to open page in new tab
session issue with multi tabs in a browser
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015