日期:2014-05-16  浏览次数:20343 次

做了倒计时功能,点击空格触发事件开始倒计时,为什么会延时下啊,请帮忙看看

做了倒计时功能,点击空格触发事件开始倒计时,为什么会延时下啊,请帮忙看看 
代码如下

<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
    <title></title>
    <style>
        body {
            padding: 0px;
            margin: 0px;
        }

        #time {
            font: 280px '微软雅黑';
            position: absolute;
            left: 50%;
            top: 50%;
            margin: -180px 0px 0px -325px;
            padding: 0;
            overflow: hidden;
            width: 725px;
            height: 360px;
            z-index: 1;
            color: #000000;
            background: #cccccc;
        }

        .contents {
            position: absolute;
            bottom: 5px;
            left: 5px;
            height: 30px;
            width: 396px;
        }

        .content {
            display: none;
        }
    </style>
    <script src="js/jquery1.7.1min.js"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            FooterControl();
            $(document).keyup(function (event) {
                if (event.keyCode == 32) {
                    var varMinute = $("#hiddlen_minute").val();
 &nb