Print Page | Close Window

Popup Window Always on Top??

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: General Discussion
Forum Description: General discussion and chat on any topic.
URL: https://forums.webwiz.net/forum_posts.asp?TID=808
Printed Date: 29 March 2026 at 2:30am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Popup Window Always on Top??
Posted By: mlhopper
Subject: Popup Window Always on Top??
Date Posted: 07 March 2003 at 1:29pm

Can ANYONE help me??  I have created a popup window.  The popup window appears when the "continue.jpg" button is pressed - but only if information in the form is invalid.  For example - validation says state has to = NY, if it doesn't then an alert message appears...when you click "ok" my popup window appears.  What I want to occur here is that the popup window continues to stay on top - even if the window behind is clicked on...

I have searched google for about an hour and a half - and all I can find is code that isn't relative to validation of a form.  Most has an <a href> tag - and I can't have this in my code...ANY IDEAS???

Thanks,

Melissa




Replies:
Posted By: michael
Date Posted: 07 March 2003 at 2:57pm
Just change your body tag in the popup to the following:
<body onblur="self.focus();">


Posted By: mlhopper
Date Posted: 10 March 2003 at 9:44am
Thanks - worked like a charm!! 



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net