Cortes wrote:
Hi all,
I have this parent window poping up the child window. SOmething like this
popupWinA= window.open("child.html","popupWinA"," width=300 , height=150)
I want this child popupWinA always stay on top of the parent window no
matter where the focus is (so that when you click the parent, the child
doesn't *disappear* because if its small size).
Is there any way to do this?
any reply will be greatly appreciated. Thanks
Wish you all have a good day!
1- The 3rd argument in the window.open call is a string (between a pair
of quotes) without any blank space in it, otherwise, NS 6+ and
Mozilla-based browsers will not comply with the specifications requested
in the windowFeatures list.
2- alwaysRaised requires enhanced security privileges in NS 4, NS 6+ and
Mozilla-based browsers
3- I strongly advised against onblur="self.focus();" which will confuse
users and abuse their system resources. I'm absolutely convinced there
can be a better way, a more user-friendly way to achieve what you want
if only you would elaborate on your webpage design goals, requirements.
Modal solutions (like showModalDialog and showModelessDialog) are
extreme solutions which, when improperly, unjustifiably used, often
alienate users than anything. At the very least, you should always give
some kind of veto power to your users if they want to turn off your
"finder popup". Be aware that power Mozilla users will know how to
neutralize an inflexible modal popup while others can always use the
back button or the close window button of their browser on your site.
DU