• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Jj Roberts
  • Al Hobbs
  • Piet Souris

How to control no. of Child Windows

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 205
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic