[thelist] OnBLur

Mike Carlson mike at mcarlson.net
Mon Aug 16 15:52:52 CDT 2004


This is an in house application for our sales department, its not for
the general public. If I want to make a window be modal so they cant
close it and not the let the background processes finish, then that what
I get to do.

Its not that they move to a different window, the problem is they are
closing the pop up window before its done processing all the things it
needs to do in the background.

--Mike


-----Original Message-----
From: thelist-bounces at lists.evolt.org
[mailto:thelist-bounces at lists.evolt.org] On Behalf Of Chris Johnston
Sent: Monday, August 16, 2004 3:15 PM
To: thelist at lists.evolt.org
Subject: Re: [thelist] OnBLur

On Mon, 16 Aug 2004 14:57:56 -0500, Mike Carlson <mike at mcarlson.net>
wrote:
> I need to implement some code that will not allow a user to close or
move focus from a windows until it is done processing some stuff in the
background.
>  I am currently using onBlur="window.focus();" in my body tag, but
that does not seem to "fire" until the entire page is done loading.
> 
> One of the processes in the background takes a few seconds to run and
since the onBlur is not firing, the user can switch focus from that
window until the entire page loads. I need something that will fire as
soon as the window is displayed.
> 
> Another thing I want to implement is to remove the ability to close
the window except for clicking a button which isn't displayed until
everything is done in the background.
> 

Are you also going to find a way to stop me from turning off my computer
as well? What you are trying to do is to influence basic aspects of the
operating system or window manager from within the security confines of
a web browser. I don't think this is possible. If I want to go and do
something else while your app processes, then I had better be able to do
that.

One of the first rules of Interface design and computer-human
interaction states that you should never do anything that involves
non-module boxes (boxes that persist on top of everything else on the
desktop). This is what you are suggesting. These are a *very* bad idea.

Exactly why do you need this kind of functionality? What is so terrible
about someone looking at another window or app while yours is still
processing?


--
chris johnston

www.fuzzylizard.com
"For millions of years, mankind lived just like the animals and
something happened which unleashed the power of our imagination, we
learned to talk."
Pink Floyd
-- 

News! - Evolt.org conference for web professionals. 
17-19 September 2004 in Toronto, Canada. 
Details at http://TOevolt.org

* * Please support the community that supports you.  * *
http://evolt.org/help_support_evolt/

For unsubscribe and other options, including the Tip Harvester and
archives of thelist go to: http://lists.evolt.org Workers of the Web,
evolt ! 


More information about the thelist mailing list