JQuery automatically hides the specified element over a period of time

From , 3 Years ago, written in JavaScript, viewed 53 times.
URL https://pastebin.vip/view/a8d27957
  1. //这是1.3.2中我们使用setTimeout来实现的方式 
  2. //http://www.sharejs.com
  3. setTimeout(function() { 
  4. $('.mydiv').hide('blind', {}, 500) 
  5. }, 5000); 
  6.  
  7.  
  8. //而这是在1.4中可以使用delay()这一功能来实现的方式(这很像是休眠) 
  9. $(".mydiv").delay(5000).hide('blind', {}, 500); 
  10.  
  11. //javascript/8869

Reply to "JQuery automatically hides the specified element over a period of time"

Here you can reply to the paste above

captcha

https://burned.cc - Burn After Reading Website