I want to pre-cach the images before it can be viewed on next page. Also, if someone clicks on "skip precaching" , downloading of image should be stoped in between and page should immediately open next page.
I have attached my code. I am using iframe to display link because if I put simply without iframe, link becomes unclickable when page is loading images. thats bad. even if image is downloading the link should be clickable. IFRAME DOES NOT WORK THOUGH. Stil link becomes unclickable.If you know any other way please let me know.
Now if i click on " skip pre-caching" as shown in screen shot attached, next page opens but still download does not stop....Even if next page is open, it pre-caching images..which should not be done. I want to the way which can stop it in between.
THIS IS URGENT. please help me. If you have any questions please let me know asap.
preload is .cfm file and link is .html file.
ALL OTHER WAYS WHICH CAN IMPROVE PERFORMANCE OF MY CODE ARE WELCOME.