Meaningless Drivel is fun!*
The moose likes HTML, CSS and JavaScript and the fly likes can I view a pop up but have parent page active? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "can I view a pop up but have parent page active?" Watch "can I view a pop up but have parent page active?" New topic
Author

can I view a pop up but have parent page active?

Kim Kantola
Ranch Hand

Joined: May 17, 2001
Posts: 274
If I use "WindowName.focus();" to make sure that a pop-up remains on top of the parent window, can I keep the pop up visible on top, but have the parent window active? I want the pop up to display info that is needed for data entry, so want the pop-up to be visible, but the user able to do data entry onto the page from which the pop-up came.
Thanks for any info.
Kim
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
You are not going to be able to do it, but you can use a layer on the page.
You could resize the parent and the child so they both can fit side by side too.
Kim Kantola
Ranch Hand

Joined: May 17, 2001
Posts: 274
Thank you very much for your reply. Could you elaborate on what you mean by "use a layer" ? Is that something differant than a pop-up window? Do you have a code example?
Thanks,
Kim
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
layer is DHTML, basically you can show and hide them. If you have all of these pop up pages code, I can show you a few things and probably help you code it.
the basic idea is here, but i can help you out more in the future
http://www10.brinkster.com/A1ien51/Scripts/ShowLayersCode.htm
Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: can I view a pop up but have parent page active?