[Javascript] invalid argument in IE

Schalk schalk at volume4.com
Wed May 31 06:21:37 CDT 2006


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





More information about the Javascript mailing list