MapTools.org

[Chameleon] small change to Popup.php

Paul Spencer spencer@dmsolutions.ca
Wed, 14 Jan 2004 13:26:48 -0500
Bart,

I've committed the change to cvs.  There is a small chance that this 
could break cvs because there were a couple of other changes that I am 
in the middle of, but I doubt it.

$szResult  = "var wh = window.open('".$this->GetPopupURL().
              "', '".$this->GetPopupName()."', '".
              $this->GetPopupOptions()."');".
              "wh.focus();";


Cheers,

Paul

bartvde@xs4all.nl wrote:

> Hi Paul, cc list,
> 
> we did a small change to Popup.php, would be nice if this one could make
> it to the CVS version.
> 
> We added a js focus() call to the window handle to make sure the popup
> comes up after it has been minimized by a user.
> 
> $szResult  = "hWindow = window.open('".$this->GetPopupURL().
>                      "', '".$this->GetPopupName()."', '".
>                      $this->GetPopupOptions()."');";
> $szResult .= "hWindow.focus();";
> 
> Best regards,
> Bart
> _______________________________________________
> Chameleon mailing list
> Chameleon@lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/chameleon
> 

-- 
  -----------------------------------------------------------------
|Paul Spencer                           spencer@dmsolutions.ca    |
|-----------------------------------------------------------------|
|Applications & Software Development                              |
|DM Solutions Group Inc                 http://www.dmsolutions.ca/|
  -----------------------------------------------------------------



This archive was generated by Pipermail.