...

View Full Version : windows taking focus



WMJB
05-10-2006, 01:51 AM
Hi,

Is there any way to stop windows taking the focus from other windows. For example, when you have a page loading in one window while you are reading another window. When the first window is finished loading it pops out over the top of the second window. Very annoying. I think this may only be an IE problem?

Any ideas?

jscheuer1
05-10-2006, 07:09 AM
First off, why is a page loading in one window while you are reading a page in another window? Do you want this as a solution for your personal browsing habits or for a site that you designed that exhibits this behavior? For both problems, there is a simple solution, don't open a second window until you have finished reading the page you are reading. If this is a design problem and you really must open another window while you or someone is reading in the first, you could try:

<script type="text/javascript">
onload=function(){self.blur()}
</script>

on the page in the window that you are not reading.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum