# jquery-countdown-ie-support **Repository Path**: likemore/jquery-countdown-ie-support ## Basic Information - **Project Name**: jquery-countdown-ie-support - **Description**: jQuery 倒计时插件 支兼容ie7+ - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 1 - **Created**: 2014-01-24 - **Last Updated**: 2021-07-26 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # jQuery 倒计时 ie7+ ![screenshot](https://git.oschina.net/likemore/jquery-countdown-ie-support/raw/master/img/demo.jpg) ### 基础用法: ```javascript $('#counter').countdown({startTime: "01:12:32:55"}); ``` ### 完整用法: ```javascript $('#counter').countdown({ stepTime: 60, format: 'hh:mm:ss', startTime: "12:32:55", digitImages: 6, digitWidth: 53, digitHeight: 77, timerEnd: function() { alert('end!!'); }, image: "digits.png" }); $('#counter').countdown({ format: 'sss', startTime: "120", continuous: true, timerEnd: function() { alert('end!!'); }, image: "digits.png" }); ``` ### 指定时间 相对于当前小时 ```javascript $('#counter').countdown({ image: "digits.png", format: "mm:ss", endTime: '50:00' }); ``` 使用绝对时间 ```javascript $('#counter').countdown({ image: "digits.png", format: "mm:ss", endTime: new Date(2014,1,17,0,0,0) //new Date(1392566400000) // 2014-02-17 00:00:00 }); ``` ### 作者 fork from [jquery-countdown](https://github.com/Reflejo/jquery-countdown) 本版本 修复IE8、IE9 下BUG