[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details

How to stop image downloading and redirect to next page when button clicked

Asked by mish_p in WebApplications, Web Images, Scripting Languages

Tags: cold fusion and javascript

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.
Attachments:
 
code of pre-cach
 
 
code for link
 
 
my goal which I want to do
my goal which I want to do
 
[+][-]11/03/09 01:08 AM, ID: 25727127Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-92 - Hierarchy / EE_QW_3_20080625