简体   繁体   English

自动刷新Div使用jQuery从5秒到零

[英]Auto Refresh Div Using jQuery from 5 Seconds to Zero

How to create a countdown counter in Drupal 7 that says: 如何在Drupal 7中创建倒数计数器,其中说:

Your download will start in 5 seconds...

During page load and it countdown the number to 5, 4, 3, 2, 1 在页面加载期间,它倒数到5,4,3,2,1

And change the value to 并将值更改为

Your download will start shortly...

When finished? 等结束了?

I found so many tutorials about this but not specific to what I am looking for. 我找到了很多这方面的教程,但并不具体到我要找的内容。

I am also moving this question from Drupal stackexchange as suggested by Chapabu. 我也正在按照Chapabu的建议从Drupal stackexchange转移这个问题。

这里有25个jQuery倒计时脚本: http//www.tripwiremagazine.com/2013/04/jquery-countdown-scripts.html和相应的StackOverflow-Question包括优秀答案: 如何进行jQuery倒计时

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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