On 20/10/2009 19:32, Armin Burger wrote:
> On 20/10/2009 16:52, Niccolo Rigacci wrote:
>> On Tue, Oct 20, 2009 at 07:39:41AM -0700, JacTheWolf wrote:
>>> I found the problem. Apparently my version of IE (6.0) does not work the
>>> second parameter of function "window.open". To fix  put null:
>>>
>>> var popup = window.open(
>>>                 PM_PLUGIN_LOCATION +
>>> '/digitizepoints/digitizepoints.php?lon=' + px + "&lat=" + py,
>>>                 null,
>>>                 'width=' + PM.Plugin.Digitizepoints.width + ',height=' +
>>> PM.Plugin.Digitizepoints.width +
>>> ',status=no,scrollbars=no,fullscreen=no,resizable=yes' );
>>
>> Damn Internet Explorer! I spend more than an hour to find this 
>> thing!
>>
>> The problem was the space in the label, IE does not like it and 
>> fails without a warning!
>>
>> Get the fixed digitizepoints.js here:
>> https://trac.faunalia.it/svn/digitizepoints/trunk/digitizepoints.js
>>
>> Shortly the plugin will get home in pmapper repository (thanks 
>> Armin!).
>>
> 
> Niccolo
> 
> alternatively you could try to avoid standard pop-up windows and use the 
> DHTML window, something like
> 
> digitizeDlgOptions: {width:480, height:480, left:100, top:50,
>                    resizeable:true, newsize:true,
>                       container:'pmDlgContainer', name:"digitize"},
> 
> openCoordinatesDlg: function(imgxy) {
> 
>     ...
>      var digitizeUrl = PM_PLUGIN_LOCATION +
>       '/digitizepoints/digitizepoints.php?lon=' + px + "&lat=" + py;
> 
>       this.createDnRDlg(this.digitizeDlgOptions, _p('Digitize'),
>                       digitizeUrl);
> 
>     ...
> },
> 


corrigendum:

should be
...
PM.Dlg.createDnRDlg(...)
...

armin

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to