Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript How-To
| Search | Today's Posts | Mark Forums Read
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
  #1 (permalink)  
Old April 7th, 2005, 05:09 AM
Authorized User
 
Join Date: Jul 2004
Location: , , .
Posts: 88
Thanks: 0
Thanked 0 Times in 0 Posts
Default Multiple windows on click of link


Hi!

I have created a few reports in asp.net.
These reports are supposed to be displayed
in separate windows at the same time. i.e
the user should be able to see all the reports
at the same time on the screen.

How do i open multiple windows on the click
of a link? Please help!

Regards,
Spacy.


  #2 (permalink)  
Old April 7th, 2005, 11:39 PM
Friend of Wrox
 
Join Date: Oct 2004
Location: delhi, delhi, India.
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
Default

Hii Spacy!!
Hope this code help you
please check the strfilename as per your requirement,here i used "page1.htm,page2.htm,page3.htm"

<script>
function openWin()
{for(i=1;i<=3;i++)
  {
   strfilename="page"+i+".htm"
  window.open(strfilename)
  }
}
</script>
<a href="#" onclick="openWin()">Popups</a>


Cheers :)

vinod
  #3 (permalink)  
Old April 11th, 2005, 05:57 AM
Authorized User
 
Join Date: Jul 2004
Location: , , .
Posts: 88
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks Vinod!



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help with Dynamic Link Label Click Events chobo2 C# 4 November 8th, 2007 03:47 AM
Link button click event sarah lee ASP.NET 2.0 Basics 5 May 18th, 2007 09:29 AM
double click to open link thutt Dreamweaver (all versions) 0 February 8th, 2007 05:01 PM
Click on link in VB6 Perseus Beginning VB 6 1 August 30th, 2005 05:52 PM
Click on link to open file from .asp wolfberg Classic ASP Basics 4 November 22nd, 2004 04:18 PM





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