简体   繁体   中英

jQuery Cycle2 slide disapear when using “fade animation”

i've a problem in cycle2 pluging when i go to another page and comeback to my page sometimes and not always the slide disappear and show after a sec delay

<div class="cycle-slideshow" 
    data-cycle-fx="fadOut" 
    data-cycle-speed="500"
    data-cycle-timeout="3000"
    data-cycle-slides="> div"
>
    <div class="profile-info">
         econtent here
    </div>
   <div class="profile-info">
   content here
   </div>

</div>

This code should work:

<div class="cycle-slideshow" 
    data-cycle-fx="fadeOut" 
    data-cycle-speed="500"
    data-cycle-timeout="3000"
    data-cycle-slides="> div">

    <div class="profile-info">
       econtent here
    </div>
    <div class="profile-info">
       content here
    </div>
</div>

UPDATE

Using jquery 3.0.0 fix the "Fade Animation Bug"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM