in the pop-up code, can you put self.focus() ?
-----Original Message-----
From: Terry [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 20, 2003 8:30 AM
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
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
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4