The correct is:
How I can set the size of a popup window with the size (width and height) of an image?
Thanks again.
[i]Originally posted by dabush [/i] [B]lets say the width of the img is called [I]imgwidth[/I] and height of the img is called [I]imgheight[/I]. [B]open("url.html","windowname","width=imgwidth,height=imgheight");[/B] [/B][/QUOTE]
[i]Originally posted by khalidali63 [/i] [B]var img = new Image(); img.src = "someImage.gif" X = img.width Y = img.height; Hope this helps Cheers Khalid [/B][/QUOTE]
Help @gportella spread the word by sharing this article on Twitter...