[thelist] Need Javascript help with a pop-up window

Hassan Schroeder hassan at webtuitive.com
Sat Sep 1 10:24:38 CDT 2001


Amy Roberts wrote:

> I need to
> know how to bring the open window to the front when the next word is
> clicked on that uses the same link?
> 
> This is the code I am using in the head:
> 
> function openWindow() {
>   popupWin = window.open('../info/words_tips.html', 'remote',
> 'resizable,width=300,height=600,left=700,top=0')

Inside the function, after the above line, add: 

	popupWin.focus();

HTH!
-- 
H*
Hassan Schroeder ----------------------------- hassan at webtuitive.com 
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com

    -- creating dynamic Web sites and applications since 1994 --




More information about the thelist mailing list