|
-
Feb 8th, 2002, 10:18 AM
#1
Thread Starter
Lively Member
Disabling Title Bar/Close Button
Hi,
I'm doing customizations on some of my company's code and the code right now is assuming that a user is going to go through a process the proper way every time they access this process. However, if a user closes the window they're in using the 'X' in the title bar it throws off the process the next time it is run. Is there any way of disabling the 'X' to close windows or getting rid of the Title bar using the window.open parameters? I Know you can make a window not sizable, hide the menu, status bar, etc....
Thanks in advance,
Neil
-
Feb 8th, 2002, 11:00 AM
#2
the only way you can do that is if you use the chromeless popup. that way you can take the close button off and put your own if need be.
http://www.snippetlibrary.com/tutori...atname=Windows
other than that you don't have any other way to do what you want.
-
Feb 8th, 2002, 05:53 PM
#3
Thread Starter
Lively Member
Thanks for the suggestion...Instead I just used a workaround with the onunload event of the window...
-
Feb 8th, 2002, 09:02 PM
#4
Addicted Member
From a programming standpoint, I'd say you're in for a maintenence nightmare if you begin relying on the client's browser to send some sort of signal that indicates the process is finished. If a computer bombs for whatever reason before finishing, you're going to have to drop everything and "go fix the computer again"
There are other ways. Perhaps we can help improve the design a little if you can describe a little more in-depth what you are doing and what techniques you are using to keep track of where the user is in the process (also known as "maintaining state")
cudabean
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|