Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

how do you remove final image after a fade rotation in javascript

Posted on 2013-05-23
4
Medium Priority
?
205 Views
Last Modified: 2013-06-08
Hi there,
I am using this script here from Dynamic Drive
http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm

and I am just wondering what to I have to change so that when the rotation is finished, the last image goes away...currently it stops on the last image and I don't want that...I want it to end and then disappear??

I hope someone can help me with the js code to achieve this
0
Comment
Question by:Amanda Watson
  • 2
4 Comments
 
LVL 15

Assisted Solution

by:Jagadishwor Dulal
Jagadishwor Dulal earned 200 total points
ID: 39193027
What exactly you want ? You want to hide the slider when last image show?
0
 
LVL 11

Author Comment

by:Amanda Watson
ID: 39193202
yes exactly, usually the last image remains or it autoloops, but I want it removed completely after it has done a rotation?
0
 
LVL 9

Accepted Solution

by:
Sar1973 earned 1800 total points
ID: 39194875
You could use a setTimeout synchronized with the rotation, so that after N milliseconds the final image is changed and made disappera (see http://www.w3schools.com/js/js_timing.asp).
0
 
LVL 11

Author Closing Comment

by:Amanda Watson
ID: 39232509
Thanks
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses how to implement server side field validation and display customized error messages to the client.
In this blog, we’ll look at how improvements to Percona XtraDB Cluster improved IST performance.
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
Suggested Courses

972 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question