diff options
author | JinweiClarkChao <[email protected]> | 2014-02-20 12:50:15 +0800 |
---|---|---|
committer | JinweiClarkChao <[email protected]> | 2014-02-20 12:52:51 +0800 |
commit | 31fb10f393fbfd4d7adf528ec70624d2b8d247a8 (patch) | |
tree | 1009bb2a4f5fe89b8bc822b68104018ea8df5261 /Blocks/countdown/index.html | |
parent | be404e3e01ca839e730c884309c25abef10863c9 (diff) | |
download | jinwei.me-31fb10f393fbfd4d7adf528ec70624d2b8d247a8.tar.gz |
Six Blocks Version
Diffstat (limited to 'Blocks/countdown/index.html')
-rw-r--r-- | Blocks/countdown/index.html | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/Blocks/countdown/index.html b/Blocks/countdown/index.html new file mode 100644 index 0000000..6644fb0 --- /dev/null +++ b/Blocks/countdown/index.html | |||
@@ -0,0 +1,68 @@ | |||
1 | <!DOCTYPE html> | ||
2 | <html> | ||
3 | <head> | ||
4 | |||
5 | <title>Countdown</title> | ||
6 | <meta http-equiv="Content-Type" content="text/html;charset=gb2312" /> | ||
7 | <link rel="stylesheet" type="text/css" href="css/countdown.css"/> | ||
8 | <script type="text/javascript" src="js/jquery-1.10.2.js"></script> | ||
9 | <script type="text/javascript" src="js/jquery.knob.min.js"></script> | ||
10 | <script type="text/javascript" src="js/countdown.min.js"></script> | ||
11 | |||
12 | </head> | ||
13 | <body> | ||
14 | |||
15 | <div id='countdown_knob' class='timerArea' ></div> | ||
16 | |||
17 | |||
18 | <script> | ||
19 | $(document).ready(function() { | ||
20 | $("#countdown_def").countdown( | ||
21 | { | ||
22 | dateEnd:'11/30/2013 00:00:00', | ||
23 | format:true, | ||
24 | callback:function(){alert('Happy Birthday to U')} | ||
25 | }, | ||
26 | { | ||
27 | timezone:false, | ||
28 | offset:0 | ||
29 | } | ||
30 | ); | ||
31 | |||
32 | $("#countdown_knob").countdown( | ||
33 | { | ||
34 | skin: 'knob', | ||
35 | option:{ | ||
36 | global:{thickness:0.1}, | ||
37 | day:{thickness:0.2}, | ||
38 | hour:{thickness:0.4}, | ||
39 | second:{thickness:.0} | ||
40 | }, | ||
41 | dateEnd:'05/03/2014 02:00:00', | ||
42 | dateStart:'11/30/2013 00:00:00', | ||
43 | format:true, | ||
44 | callback:function(){alert('Tiga!')} | ||
45 | }, | ||
46 | { | ||
47 | timezone:true, | ||
48 | offset:6 | ||
49 | } | ||
50 | ); | ||
51 | }); | ||
52 | </script> | ||
53 | <div style="text-align:center;clear:both"><br><br> | ||
54 | <br> | ||
55 | <img src="waiting.png" width="557" height="158"><br><br> | ||
56 | |||
57 | </div> | ||
58 | |||
59 | |||
60 | <!-- jinwei.me Baidu tongji analytics --> | ||
61 | <script type="text/javascript"> | ||
62 | var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://"); | ||
63 | document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3F91918ac6d6854623883a2b546ebc00ac' type='text/javascript'%3E%3C/script%3E")); | ||
64 | </script> | ||
65 | |||
66 | </body> | ||
67 | |||
68 | </html> \ No newline at end of file | ||