View Full Version : popup : no close button
chartrandi
02-23-2004, 04:38 PM
Good day!
1) I need to open a link in a brand new window, and it mustn't have ANYTHING around it, especially not the minimize/maximize/close buttons. Any suggestion? Even chromeless windows code I have encountered have the close button.
and for curious people, no it's not for ads, it's for launching a course with it's own navigation in flash, so I don't want people to close the course with the usual "X" on the right handside corner of the window.
thanks for your help!
:D
Have you tried
window.open('URL','_new','title=0 status=0 etc....')
If the title bar is gone, the close button should go with it.:)
Choopernickel
02-23-2004, 04:57 PM
How are you going to get around ALT+F4 or CTRL+W, then, to prevent the closing of a window.
All I can tell you to do is look at kiosk-mode (fullscreen) browsing, or supply an executable for download.
chartrandi
02-23-2004, 05:50 PM
tried the title=0 thing, doesn't work..
as far as the shortcuts, I wouldn't worry about it, people using the program aren't really used to computers so they won't think of it. :)
A1ien51
02-23-2004, 06:22 PM
ONLY way to do this would be having fun with layers and an iframe
.
You can not remove the buttons unless you do the fullscreen as mentioned before.
chartrandi
02-23-2004, 06:25 PM
hmm that's not useful for me because in full screen it streches the flash file and with bitmaps embedded in them ...hmmm it's makes them blurry.
is there a way to just DISABLE the close button then? just as you would disable the back button in the regular icons?
Garadon
02-23-2004, 06:39 PM
I don't think you can remove the caption bar of the browser without using IE's fullscreen function which as the name implies is IE only. so you will need a chromeless script such as the one you mentioned your using, and if you can't find your self how to get it to not make a caption bar then perhaps post a link to where you got the script from.
beetle
02-23-2004, 06:47 PM
you can remove it, but you have to build your HTML file as an HTA, which must be signed - so they're not an option for the web - but they work great for intranets or kiosk-type setups.
Basscyst
02-23-2004, 07:46 PM
I think you could also place an Iframe inside of the full screen window that has no buttons and disable the alt \ control buttons assuming they arn't needed for the test?
Basscyst
beetle
02-23-2004, 07:48 PM
Indeed, an IFRAME would be the most web-friendly, non-intrusive solution, given the requirements you supplied.
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.