Try this...

<body onblur="window.focus()">

There are some caveats however.. The user must close this window before
going to others. There are also problems if you have a form on the pop-up
window. But adding the onblur parameter to your body tag will keep the
window on top.

HTH,
Steve

-----Original Message-----
From: S R [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 12, 2000 2:03 PM
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