Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript How-To
Javascript How-To Ask your "How do I do this with Javascript?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old January 18th, 2005, 09:54 AM
Friend of Wrox
Join Date: Jan 2005
Posts: 1,525
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to crmpicco Send a message via AIM to crmpicco Send a message via MSN to crmpicco Send a message via Yahoo to crmpicco
Default open a new pop-up from a pop-up

how do I open a new pop-up from a pop-up with Javascript?

Ayrshire Minis - a Mini E-Community
Old January 18th, 2005, 10:48 AM
Friend of Wrox
Join Date: Oct 2004
Posts: 553
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to vinod_yadav1919 Send a message via Yahoo to vinod_yadav1919

 HII Crmpicco
Hope this will help you

function OpenNewWindow()
vin=window.open("","NewWindow","height=200,width=4 00");
vin.document.write ("<HTML><HEAD><script language='javascript'>");
vin.document.write ("function innerwindow(){ window.open('test.html','AnotherNewWindow','height =200,width=400');}")
vin.document.write ("<\/script></HEAD>");
vin.document.write ("<BODY BGCOLOR='#cococo'>");
 vin.document.write ("<P ALIGN=CENTER>");
vin.document.write ("test");
vin.document.write ("</P>");
vin.document.write ("<center><FORM><INPUT TYPE='button' VALUE='innerwidnow' onClick='innerwindow()'>");
vin.document.write ("</FORM></CENTER></BODY></HTML>");
vin.document.write ("</BODY></HTML>");

<input type=button name=abc value="openwindow" onclick="OpenNewWindow()">

Cheers :)


Similar Threads
Thread Thread Starter Forum Replies Last Post
open multiple pop-ups aspenthu ASP.NET 1.0 and 1.1 Professional 1 May 20th, 2006 04:02 AM
open multiple pop-up with linkbutton in asp.net aspenthu ASP.NET 1.0 and 1.1 Basics 0 March 10th, 2006 01:41 AM
getting all pop-ups nerssi Javascript 3 March 7th, 2006 01:22 AM
JavaScript open pop-up crmpicco Javascript How-To 1 June 10th, 2005 03:40 AM
Open a pop-up window on selcetion chang in Listbox bpgadhia ASP.NET 1.x and 2.0 Application Design 1 May 10th, 2004 02:57 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.