Hi all, anyone knows how to create a button "OK" to close the browser just like the alert message in Javascript? That means, the browser is opened and the user couldn't click on anywhere else except to press the OK button. Thanks.
You'll still be able to close the child window with the "X" icon in the top left of the window.
Is there a way that these icons and the whole top bar can be removed as you open the window? It is not listed as an attribute of the open() method, but has anybody developed a work-around?
ok a lied... in IE there is a workaround. if you size the new window to fullscreen ( i think its fullscreen=yes or something ) you can sue setsize to shrink it back to whatever size you want. this removes all the browser chrome.
yeah, I agree with AndyB21. How do we remove the whole top bar. Anyway, thanks guys, but the problem really lies on how to create this child window in such away that the user couldn't proceed clicking anywhere else except for the OK button. Just like the alert messages.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.