Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 206
  • Last Modified:

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

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
Amanda Watson
Asked:
Amanda Watson
  • 2
2 Solutions
 
Jagadishwor DulalBraces MediaCommented:
What exactly you want ? You want to hide the slider when last image show?
0
 
Amanda WatsonWeb DeveloperAuthor Commented:
yes exactly, usually the last image remains or it autoloops, but I want it removed completely after it has done a rotation?
0
 
Sar1973Commented:
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
 
Amanda WatsonWeb DeveloperAuthor Commented:
Thanks
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now