唐兄
2019-06-19 18:32
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>flipcountdown</title> <link rel="stylesheet" type="text/css" href="flipcountdown/jquery.flipcountdown.css" /> <script src="flipcountdown/jquery.min.js"></script> <script src="flipcountdown/jquery.flipcountdown.js"></script> <script type="text/javascript"> jQuery(function ($) { $('#myClockBox1').flipcountdown(); $('#myClockBox2').flipcountdown({ size:"lg" }); $('#myClockBox2').flipcountdown({ size:"xs" }); }) </script> </head> <body> <div id="myClockBox1"></div> <div id="myClockBox2"></div> <div id="myClockBox3"></div> </body> </html>
将
<script src=
"flipcountdown/jquery.min.js"
></script>
<script src=
"flipcountdown/jquery.flipcountdown.js"
></script>
<script type=
"text/javascript"
>
jQuery(
function
($) {
$(
'#myClockBox1'
).flipcountdown();
$(
'#myClockBox2'
).flipcountdown({
size:
"lg"
});
$(
'#myClockBox2'
).flipcountdown({
size:
"xs"
});
})
</script>写在
<div id=
"myClockBox3"
></div>之后
PHP进阶篇-日期时间函数
14448 学习 · 26 问题
相似问题