[thelist] Bringing windows to the foreground with javascript

Bart Johnston 00217289 at bigred.unl.edu
Thu, 20 Jan 2000 15:40:20 -0600


The function works for opening the window, but doesn't re-establish focus on
the glossary window.

I did find manage to find a solution though, right after I sent my question
to the list (of course).  For those who may be interested I added this code
to each of the glossary definitions.

<body onload="this.window.focus();return true;">

works like a charm...


Bart Johnston



> works for me/should work for U :)
>
> function term(word)  {
>  var file2open = "../glossary/" + word + ".htm";
> var terms=window.open(file2open,'terms','<options>');
> terms.focus();
>
> }
>
> <a href="javascript:term('recombinant');>recombinant</a>
>
>
>
> _______________________________________________________
> unsubscribe+options: http://lists.evolt.org/mailman/listinfo/thelist
> tip harvester: http://lists.evolt.org/harvest/
> email archive: http://lists.evolt.org/archive/
> http://evolt.org/  Workers of the Web, evolt !
>