You could try popupWin.focus(); at the end of your method, it's a problem
with Windows 2000+ systems because it doesn't like to let applications fire
alerts etc. up in front of the app you are working on.
Joe
>From: "Arun" <arun@l...>
>Reply-To: "javascript" <javascript@p...>
>To: "javascript" <javascript@p...>
>Subject: [javascript] Problem with Popupwindow
>Date: Fri, 8 Feb 2002 10:23:11 +0530
>
>
>
>-----Original Message-----
>From: Arun [mailto:arun@l...]
>Sent: Friday, February 08, 2002 10:16 AM
>To: javascript
>Subject:
>
>
>Hi,
>I have one problem with the Java script 'openPopupWin'.
>When the user clicks once on an image and later on the same again
>it will not open the window on the screen, it just stays in the Windows
>task
>menu.
>
>My code :
> function openPopupWin(url, name, width, height)
> {
> param
>"menubar=no,resizable=no,status=no,scrollbars=yes,width="+width+",height="+h
>eight;
> popupWin = window.open(url, name, param);
> }
>
>
_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com