Have you tried putting the focus onto the actual link.

maybe but not sure:
<a href="#TheHelpDoc#" target="help_win"
onClick="help_win.focus();">Click4Help</a>

----- Original Message -----
From: "Gonzo Rock" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, December 12, 2001 6:14 PM
Subject: PopUp Problem


> I'm still having trouble with PopUp browser windows... have read lots of
docs but not quite finding what I need.
>
> Specifically my problem is getting a PopUp that has been named and used
previously to receive the focus when again called. The called document has a
> <body onload="window.focus()">
> statement in it.
>
> For example:
> TheHelpDoc = SomeName.html#SomeAnchor
>
> <a href="#TheHelpDoc#" target="help_win">Click4Help</a>
>
> works great the first time it is called.
>
> If it is called a second time with some NEW Document name it WILL bring
the NEW Document into focus... (pop to the top).
>
> HOWEVER if the SameDocument but a DifferentAnchor is called it will bring
the document to the new anchor BUT it will NOT bring the help_win into
focus.
>
> It seems that the onload="window.focus()" does not fire the second time
around when the anchor tag is involved.
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to