A question for the Javascript guru's
I've got a web page which displays thumbnails of pictures, and when you click on the thumbnail, a javascript executes which opens a new window and displays the full size version of the image.
when the script is called I pass it the size of the image it's going to open, so it can size the new window to fit the picture. whilst this is all good an well, I'd prefer it if I could get the script to work out the size of the image it's going to load and then scale the window.
Can someone give me some pointers, or code on how to do this, if, of course, it is possible.
when the script is called I pass it the size of the image it's going to open, so it can size the new window to fit the picture. whilst this is all good an well, I'd prefer it if I could get the script to work out the size of the image it's going to load and then scale the window.
Can someone give me some pointers, or code on how to do this, if, of course, it is possible.
Thread
Thread Starter
Forum
Replies
Last Post




