[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 133
  • Last Modified:

open an document in new window?

We cam open a new url using :
  getAppletContext().showDocument(URL);
but how to open a document in a new browser window, not the current window?
0
alai
Asked:
alai
1 Solution
 
gwaltersCommented:
showDocument(URL,String)

where the second arg is the name of the window.  If it doesn't exist (or if it's "_blank"), it will open a new window.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now