diff options
author | JinweiClarkChao <[email protected]> | 2014-09-23 22:34:14 +0800 |
---|---|---|
committer | Jinwei Zhao <[email protected]> | 2017-01-13 15:07:44 +0800 |
commit | b214f38d2c24a890ce36512a0c8bab965e27a508 (patch) | |
tree | 1522b651444407cbf120798e79be4657f1b472ab /Code/Blocks/countdown/index.html | |
parent | e13882d1656b143533cec307a19425e0a56ec999 (diff) | |
download | jinwei.me-b214f38d2c24a890ce36512a0c8bab965e27a508.tar.gz |
README
Diffstat (limited to 'Code/Blocks/countdown/index.html')
-rw-r--r-- | Code/Blocks/countdown/index.html | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/Code/Blocks/countdown/index.html b/Code/Blocks/countdown/index.html new file mode 100644 index 0000000..6644fb0 --- /dev/null +++ b/Code/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 | ||