This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to control no. of Child Windows

 
rajee Malar
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I should be able to open only 3 child windows from parent. I got to show the error message for the openning for the 4th window. Url for the childwindow is not same. Please share your expertise
Thanks.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Questions:
what code are you using to open the child windows?
You only allow 3 windows to open at a time? If a window is closed can another be opened?
Are you going outside your domain?
Eric
 
rajee Malar
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Eric,
Using Href to open the child window. Yes. If one window is closed out of 3 windows, should be able to open the another window.
 
himanshu patel
Ranch Hand
Posts: 205
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by rajee Malar:
Eric,
Using Href to open the child window. Yes. If one window is closed out of 3 windows, should be able to open the another window.

As you mentioned URL is not same for all 3 child windows,then do you need to stick to any sequence of child window opening.?Which URL winodw will open first,second and third?How are you going to decide in which sequence child should open?
For ex,If you have openend 3 windows says child1,child2 and child3.
Now if i close child1 and child3 and open one new window, then which window
it should open? child1 or child3?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic