问答详情
源自:3-2 日期时间插件的使用

jquery.flipcountdown插件无效

<!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>

https://img4.mukewang.com/5d0a0f380001266410140445.jpg

提问者:唐兄 2019-06-19 18:32

个回答

  • dyaning
    2019-06-24 17:30:10

       <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>之后