From: Peter C. <Pet...@me...> - 2007-01-16 11:58:59
|
> From: Colin Tatham > I'm not really following what you need the template to do=20 > Naomi, but is=20 > there a way you can achieve what you want to another way,=20 > that possibly doesn't involve JavaScript? As far as I can tell (Naomi, please correct me if I'm mistaken): - Naomi's using a user interface idiom that includes pop-up windows; - There is a requirement for a user to press something on-screen to get rid of the pop-up window. To my knowledge, there's no way for the server to request the browser to close a window without using Javascript. The ways round it would be to relax the requirements: - Re-architect the interface to not use pop-up windows, OR - Tell the user to close the browser window themselves rather than providing a button / link for it. Both put restrictions on the allowed UIs, and are increasingly unpopular with the folks who think that web applications should be as flexible as desktop applications despite the vagaries of modern browsers. - Peter |