Jump to content

W3.CSS Cross-Fade Animation?


Goodness

Recommended Posts

That seems to have worked.

 

I commented out the following line as so:

 

// DS_x[DS_myIndex - 1].style.animationDuration = duration / 1000 + "s";

 

I did not have the following line in my page:

 

DS_x[DS_myIndex - 1].style.animationIterationCount = "infinite";

 

I do have the following line of code which I left as is:

 

DS_x[DS_myIndex - 1].style.display = "block";

 

I also matched the time duration in this line to the 8 seconds (per your direction):

 

#ds-slide .DS-mySlides.w3-animate-fading-ds{-webkit-animation:ds_fading 8s infinite;animation:ds_fading 8s infinite ;position: relative; z-index: 50;}

 

No other changes were made other than correcting the <center> thing.

 

Thanks again!

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...