[Javascript] invalid argument in IE [RESOLVED]

Schalk schalk at volume4.com
Fri Jun 2 15:25:00 CDT 2006


Sure thing, nothing earth shattering though. I just simplified it to:

function popImage(image,width,height) {       
   
    window.open(image, "image_viewer", "width=" + width + ",height=" + 
height + ",status=no,toolbar=no,menubar=no,location=no");   
}

John Hicks wrote:
> Do you mind sharing the solution with the rest of us?
>
> --J
>
> Schalk wrote:
>> Thanks everyone?
>>
>> João Cândido de Souza Neto wrote:
>>> I think that this tree lines:
>>>
>>>    this.image = image;
>>>    this.width = width;
>>>    this.height = height;
>>>
>>> Became useless.
>>>
>>> They sounds like a object propriety then the IE can be causing error
>>> because the proprieties of object and the parameters has the same name.
>>>
>>>
>>> ----- Original Message ----- From: "Schalk" <schalk at volume4.com>
>>> To: "[JavaScript List]" <javascript at LaTech.edu>
>>> Sent: Wednesday, May 31, 2006 8:21 AM
>>> Subject: [Javascript] invalid argument in IE
>>>
>>>
>>>> Greetings All,
>>>>
>>>> I get an 'invalid argument' error in IE when executing the following
>>>> code:
>>>>
>>>> function popImage(image,width,height) {
>>>>    this.image = image;
>>>>    this.width = width;
>>>>    this.height = height;
>>>>
>>>>    window.open(image, "Image Viewer", "width=" + width + ",height=" +
>>>> height + ",status=no,toolbar=no,menubar=no,location=no");
>>>> }
>>>>
>>>> Any ideas why? Works fine in FF.
>>>>
>>>> -- 
>>>> Kind Regards
>>>> Schalk Neethling
>>>> Web Developer.Designer.Programmer.President
>>>> Volume4.Business.Solution.Developers
>>>>
>>>>
>>>> _______________________________________________
>>>> Javascript mailing list
>>>> Javascript at LaTech.edu
>>>> https://lists.LaTech.edu/mailman/listinfo/javascript
>>>>
>>> _______________________________________________
>>> Javascript mailing list
>>> Javascript at LaTech.edu
>>> https://lists.LaTech.edu/mailman/listinfo/javascript
>>>
>>>
>>
>
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript
>
>

-- 
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Business.Solution.Developers





More information about the Javascript mailing list