![]() |
HELP!!! Code question...
I need someone here to show off how big their code penis is, please. You'd think I'd now the answer to this one after 14 years of coding, but sometimes you get soemthing that hasn't come up before...
I've got a popup console that launches and is the top layer/focus. When someone clicks on an item in the console I have it launch back into the browser underneath and want to change focus back to that browser instead of having the console still sitting up top. How can I do it??? |
Bump for an answer for Mark.
|
is it: opener.focus()
or just close the console after the click that targets opener? i dunno. here's a bumpity. |
|
Quote:
|
Example #2 might hold the key though. Trying that now...
|
Dang nope... couldn't quite make that work.
|
Quote:
<a href="javascript:window.blur()">click</a> |
Quote:
<a href="javascript:window.blur(INSERTSITEURL?)">clic k</a> |
var newPop = window.open('url');
newPop.blur(); |
Quote:
|
In the window that pops up:
put this in the head <SCRIPT language=JavaScript> function leave() { if (exit) this.blur();} </SCRIPT> In the body tag of the doc: onBeforeUnload="return leave();" that should work |
Quote:
|
All times are GMT -7. The time now is 06:48 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123