|
|
Last modified: October 09 2007.
|
Keep Window On Top Free Javascript
Keep Window On Top Free Javascript courtesy of http://www.cgiscript.net/
Hold Window Focus
Go to www.cgiscript.net
for more free tools!
|
Description:
Use this code to make sure a window remains in focus, on top. Great for
web site news or smaller popup windows that are easily shuffled under
out of focus. |
Directions:
Add the onBlur code to the BODY tag of the document you would like to hold
in focus. Use the 'Grab Text' buttons to select the code within the adjacent
textarea. Then use Control-C or Edit -> Copy to buffer the text for pasting
into your document.Example:
<body onblur="self.focus();">
|
|
|
|
|