Yeah, that should work.  Check the spelling of the variable names and make
sure there's a semicolon(;) at the end of the "winContent = window.open"
line of code.

-----Original Message-----
From: Terry [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 20, 2003 10:34 AM
To: CF-Talk
Subject: RE: js pop-up window focus


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
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to