Thanks for trying but that doesn't work.
No window pops up and get "error on page" Error: Object Expected Code: 0
Any other ideas?
Thanks,
Terry
*********** REPLY SEPARATOR ***********
On 2/20/2003 at 2:56 PM Pascal Peters wrote:
>function newWindow(newContent)
> {
> winContent = window.open(newContent, 'stageWin', 'right=10,
>top=20,width=712,height=450, toolbar=no,scrollbars=no, resizable=no')
> winContent.focus();
> }
>
>-----Original Message-----
>From: Terry [mailto:[EMAIL PROTECTED]]
>Sent: donderdag 20 februari 2003 14:30
>To: CF-Talk
>Subject: OT: js pop-up window focus
>
>
>The Situation: It's a site for a community theatre with a seating
>chart. You click on the seating chart and see the stage view from that
>section that pops up in a new window using the following code:
>
>function newWindow(newContent)
> {
> winContent = window.open(newContent, 'stageWin', 'right=10,
>top=20,width=712,height=450, toolbar=no,scrollbars=no, resizable=no')
>
> }
>
>Then in the image map links:
>
><href="javascript:newWindow('#self#?fuseaction=#XFA.Stage#&p=19')">
>
>The Problem: If you click on the main window, the pop-up goes to the
>background. If you click on another section of the seating chart, the
>image loads in the pop-up but stays in the background.
>
>Desired outcome: Would like it if you clicked on the seating chart, the
>pop-up would get the focus.
>
>Can that be done?
>
>tia
>
>Terry
>
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4