Jump to content

Image Load Question


Recommended Posts

I am using a JS code to change the image when the value of a combobox is changed. I will have several hundred images that the program will choose from based on the combobox criteria. On each page I will have up to 6 pictures that will be changing. My question is when the images get loaded. Since I will have say 500 images for the program to run through do all 500 images get loaded when the page loads. or will the page only load the image that the JS calls for. Then when the JS calls for the image to change a new images loads and the old one is removed from memory. I want to impliment the technique but not if it will force all of my images to load when the page does. Can somebody please let me know how it works. Thanks.

  • Like 2
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...