Hi I am trying to close my existing window and before closing it will will show a new mini window where It will be written, press ok if you want to log off. else cancel. And I want to make sure that it really logged of from the server no matter how many other same window is open. By the way I am using unix login system in my web page.
Could you please help me to get this interface. Thank you.
How to close a window with Logoff facility
Moderator: General Moderators
POP-ups should now be avoided....
Avoid pop-up windows, why? As surfers are now suppressing pop-ups, this feature is now integrated into the google toolbar, and many ISPs are adding this as a new feature.
So how do you do it? Using frames, both hidden and visible to give your members feedback.
You can post to a frame like this:
<form ACTION="yourcode.php" METHOD="POST" NAME="yourform" target="hidden_frame_name">
Both target and action can be changed dynamically client side using JavaScipt like this:
document.yourform.target="user_feedback_frame";
document.yourform.action="other.php";
Hope that helps...
Dave Walker
http://www.seiretto.com
So how do you do it? Using frames, both hidden and visible to give your members feedback.
You can post to a frame like this:
<form ACTION="yourcode.php" METHOD="POST" NAME="yourform" target="hidden_frame_name">
Both target and action can be changed dynamically client side using JavaScipt like this:
document.yourform.target="user_feedback_frame";
document.yourform.action="other.php";
Hope that helps...
Dave Walker
http://www.seiretto.com