Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

FAQ Topic - How do I open a new window with javascript? (2010-08-31)

0 views
Skip to first unread message

FAQ server

unread,
Aug 30, 2010, 7:00:03 PM8/30/10
to
-----------------------------------------------------------------------
FAQ Topic - How do I open a new window with javascript?
-----------------------------------------------------------------------

New windows can be opened on browsers that support the
`window.open` function and are not subject to the action of any
pop-up blocking mechanism with code such as:-

var wRef;
if(window.open){
wRef = window.open("http://example.com/page.html","windowName");
}

<URL: https://developer.mozilla.org/en/DOM:window.open>
<URL: http://www.infimum.dk/HTML/JSwindows.html>


The complete comp.lang.javascript FAQ is at
http://jibbering.com/faq/

--

The sendings of these daily posts are proficiently hosted
by http://www.pair.com.

0 new messages