Perhaps a silly question, but does your second document, the one that your
trying to load in the named window, have the onload="window.focus()"
statement in it?

Since your reloading the page, the window will process again, and needs it.

Marcus

> -----Original Message-----
> From: Gonzo Rock [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, December 12, 2001 5:14 PM
> To: CF-Talk
> 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.
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
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