innovator
asked on
Script suggetion...
Hi...
I have this code... and want to take your opinion about
applying needed modifications:
<<<< Start Code >>>>>>>
<script language="javascript">
self.moveTo(0,0);
self.resizeTo(screen.avail
setInterval("b()",1000000)
function b(){self.focus()};
</script>
<<<< End Code >>>>>>>
Here is what it *currently* does:
**It maximize the window to the full screen.
**It activates the window (so if there are other windows opened
this one become active
**It re-activates the window every 10 minuets (1000000 Milliseconds).
What i want it to do:
**Maximize the window to full screen.
** Do >NOT< activate the window, so if there are
other windows.... this one remains in the background (not the active
window).
** After 10 minuets, it activates the window (i.e. send it from
the background to the main active window).
Can this be done? how?
thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Yep... Didn't see the redundancy there. Wonder why that was there in the first place. It does not hurt anything, but just redundant nonetheless.
I wonder if it will resize and move while it is blurred, if so perhaps the self.blur() should be the first statement
ASKER
yes it worked. Thanks everybody.
<script language="javascript">
self.moveTo(0,0);
self.resizeTo(screen.avail
setInterval("b()",1000000)
self.blur();
function b(){self.focus()};
</script>