jquery implements the method of flipping the fadeIn display

  • 2020-05-10 17:42:11
  • OfStack

This article illustrates the jquery implementation of the flip fadeIn display method. Share with you for your reference. The specific implementation method is as follows:

$(function() {
  // Turn show 
  $("#zuixin div:not(:first)").css("display","none");
  var B=$("#zuixin div:last");
  var C=$("#zuixin div:first");
      $("#zuixin div:visible").addClass("in");
      $("#zuixin div.in").next().fadeIn(500);
  },3000); // every 3 Seconds to switch 1 You can change it as you like 

I hope this article has been helpful to your jQuery programming.

Related articles: