Add a focus to your onclick event:

<a href='##' 
onClick="MyWindow=window.open('http://www.myserver.com/cfdocs/Events/#ID#.cf
m','MyWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,sc
rollbars=yes,resizable=yes,screenX=1,screenY=25,width=250,height=300');
MyWindow.focus();">

Jessica Shea
Lead Developer, Professional Products
DataCritical (formally Elixis Corp)
http://www.datacritical.com
http://www.unwireddr.com


-----Original Message-----
From: S R [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 12, 2000 11:03 AM
To: [EMAIL PROTECTED]
Subject: Javascript Expert??


Hi,

I don't know if this is a javascript thing but I have a website that has 
several links on the front page that produce a 'pop-up' window to various 
files. Everytime they click on a different link I have it set up so that the

same 'pop-up' window is used to show a different file. The problem is if 
someone has there Netscape or IE 'Maximized' the first link they click on 
shows up but then for the rest the 'pop-up' falls behind the 'Maximized' 
main window. Is there any way to make the'pop-up' window always stay in 
front of the main window?? Here is my code below.

Thanks

<a href='##' 
onClick="MyWindow=window.open('http://www.myserver.com/cfdocs/Events/#ID#.cf
m','MyWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,sc
rollbars=yes,resizable=yes,screenX=1,screenY=25,width=250,height=300');">
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

----------------------------------------------------------------------------
--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to