I would like to load some progressive JPEGS with a Javascript.
Essentially when a user scrolls over a thumbnail, I do object.src='pictureX.jpg'. Which of course works.
Problem is the picture is not displayed until it is fully loaded. The images I am loading are rather large and take 3-4 seconds to load.
Unlike when I do <img src="pictureX.jpg">, where the picture is loaded gradually. Obviously that being the point of progressive JPEGs.
How can I get Javascript to start displaying the picture as the progressive JPEG is loaded?
Any help is appreciated.
Kumar
Virtech Computer Consulting and Networking
Essentially when a user scrolls over a thumbnail, I do object.src='pictureX.jpg'. Which of course works.
Problem is the picture is not displayed until it is fully loaded. The images I am loading are rather large and take 3-4 seconds to load.
Unlike when I do <img src="pictureX.jpg">, where the picture is loaded gradually. Obviously that being the point of progressive JPEGs.
How can I get Javascript to start displaying the picture as the progressive JPEG is loaded?
Any help is appreciated.
Kumar
Virtech Computer Consulting and Networking