In the onload event of the pages that are opened by the "pop-up", put
self.focus(); which will cause the window to come into focus, even if it is
minimized.

DC

----- Original Message -----
From: S R <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 12, 2000 18:02
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
> #.cfm','MyWindow','toolbar=no,location=no,directories=no,status=no,menub
> ar=no,scrollbars=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