A question for the Javascript guru's
#1
Scooby Regular
Thread Starter
Join Date: Mar 1999
Location: The Great White North
Posts: 25,080
Likes: 0
Received 0 Likes
on
0 Posts
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.
#4
#5
Scooby Regular
Thread Starter
Join Date: Mar 1999
Location: The Great White North
Posts: 25,080
Likes: 0
Received 0 Likes
on
0 Posts
Rich,
Yes, the server hosting the site supports php.
Jules,
Spooky, did happen to come across that page earlier.
I'll try a few things out tomorroe
Yes, the server hosting the site supports php.
Jules,
Spooky, did happen to come across that page earlier.
I'll try a few things out tomorroe
Thread
Thread Starter
Forum
Replies
Last Post
Brzoza
Engine Management and ECU Remapping
1
02 October 2015 05:26 PM