Results 1 to 4 of 4

Thread: Disabling Title Bar/Close Button

  1. #1

    Thread Starter
    Lively Member
    Join Date
    May 2001
    Location
    Fredericton, NB, Canada
    Posts
    85

    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

  2. #2
    scoutt
    Guest
    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.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    May 2001
    Location
    Fredericton, NB, Canada
    Posts
    85
    Thanks for the suggestion...Instead I just used a workaround with the onunload event of the window...

  4. #4
    Addicted Member
    Join Date
    Nov 2001
    Location
    Yewston, Texis
    Posts
    240
    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
  •  



Click Here to Expand Forum to Full Width