Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Remove close button from a new window

Status
Not open for further replies.

bcdeveloper

Programmer
Mar 13, 2002
5
US
I am in the process of introducing a new payroll system that incorporates a web based time system. The problem is that if the user closes the window without logging off it darn near crashes the system.

I can't edit the code for the time keeping program. But I can create the link that goes to the program.

I need a script to open a new window that does not have a close button in the upper right corner. That will help to force people to log off correctly.

Does anyone know how to do this?
 
Hi,

I am unsure of how your new payroll system works, but to remove the X button, make the browser window open in kiosk mode.

If your using IE, then just put in the shorcut:

"iexplore -k url", url being the website you want IE to open. It can also be called from a javascript command.

I don't know if its possible with anyother browser then IE.5.0+

James
 
thank you for your help. However, I am unfamilar with this shortcut. Might you provide an example of how it is used in code?
 
Hi,

Ok,

To start IE in Kiosk mode, do the following:

Click the Start button and select Run.
Type "iexplore -k url", url being the website you want IE to open.

To get it work in javascript, goto the following page:

To start IE in Kiosk mode, do the following:


This tells you how to open up a "splash" window, which is in effect, kiosk mode

James
 
Also in IE 5, you can use the fullscreen attribute of a new window

Code:
open("url","name","fullscreen")

After opening it, you can resize it to the size you want.
bluebrain.gif
blueuniment.gif
 
I would like to include the standard toolbar and navigation
toolbar while eliminating the title bar (min,max,close) CAn you provide any guidance on this?

THank you for your help.

Ken
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top