-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.html
executable file
·83 lines (78 loc) · 4.72 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie10 lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie10 lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie10 lt-ie9"> <![endif]-->
<!--[if IE 9]> <html class="no-js lt-ie10"> <![endif]-->
<!--[if gt IE 9]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Full Screen Clock (Pure Javascript)</title>
<meta name="description" content="Full screen clock written purely in Javascript, no flash is used.">
<meta name="keywords" content="HTML, HTML5, CSS, JavaScript, Clock, Full Screen">
<meta name="viewport" content="width=device-width">
<meta name="author" content="Xingchen Hong">
<!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
<link rel="icon" type="image/ico" href="./favicon.ico" />
<link rel="stylesheet" href="css/normalize.min.css">
<link rel="stylesheet" href="css/smoothness/jquery-ui-1.9.2.custom.min.css">
<link rel="stylesheet" href="css/main.css">
<script src="js/modernizr-2.6.1.min.js"></script>
</head>
<body>
<!--[if lt IE 7]>
<p class="chromeframe">You are using an outdated browser. <a href="http://browsehappy.com/">Upgrade your browser today</a> or <a href="http://www.google.com/chromeframe/?redirect=true">install Google Chrome Frame</a> to better experience this site.</p>
<![endif]-->
<!-- Add your site or application content here -->
<!-- image for graphical search result and other sharing service -->
<img class="hidden" src="./img/Screen Shot 2012-09-16 at 4.34.16 AM.png">
<!-- clock wrapper -->
<div class="fsc_wrapper h12 noweekday hidden"></div>
<div class="modeSwitch">
<a href="javascript:void(0);" class="nav active" for="clock">Clock</a>
<a href="javascript:void(0);" class="nav hidden" for="timer">Timer</a>
<a href="javascript:void(0);" class="nav hidden" for="stopwatch">Stopwatch</a>
<a href="javascript:void(0);" class="nav" for="settings">Settings</a>
</div>
<ul class="settingsPanel">
<li><h1>Settings</h1></li>
<li><label class="setting_label">24 Hours</label><label class="checkSlide"><a class="toggler" for="hour24"></a></label></li>
<li><label class="setting_label">Show Date</label><label class="checkSlide"><a class="toggler" for="date"></a></label></li>
<li><label class="setting_label">Show Week Day</label><label class="checkSlide"><a class="toggler" for="weekday"></a></label></li>
<li><label class="setting_label">Background Color</label></li>
<li class="sub"><label class="setting_label">Red</label><div class="slider" for="bgc" channel="r"></div></li>
<li class="sub"><label class="setting_label">Green</label><div class="slider" for="bgc" channel="g"></div></li>
<li class="sub"><label class="setting_label">Blue</label><div class="slider" for="bgc" channel="b"></div></li>
<li><label class="setting_label">Font Color</label></li>
<li class="sub"><label class="setting_label">Red</label><div class="slider" for="fec" channel="r"></div></li>
<li class="sub"><label class="setting_label">Green</label><div class="slider" for="fec" channel="g"></div></li>
<li class="sub"><label class="setting_label">Blue</label><div class="slider" for="fec" channel="b"></div></li>
<li><a href="javascript:void(0);" class="settingDone">Done</a></li>
</ul>
<!-- to-do list -->
<ul id="to_do" class="hidden">
<h2>To-Do List</h2>
<li class="done">switch for 24/12-hour mode</li>
<li class="done">switch for displaying date</li>
<li class="done">switch for displaying week day</li>
<li class="done">change foreground/background color</li>
<li>customizable font family</li>
<li>user theme</li>
<li>timer and stopwatch</li>
<li class="done">save settings with html5 local storage</li>
<li class="done">put digits into individual containers</li>
</ul>
<p id="signature">This project is inspired by <a href="http://enjoy.your-clock.com/?hl=en-US" target="_blank" rel="noopener noreferrer">Google Chrome App <i>Digital Clock</i></a>. Redesigned and rebuilt by <a href="mailto:hello@xc-h.com">Xingchen Hong</a> © 2012.</p>
<script src="js/jquery-1.8.3.min.js"></script>
<script src="js/jquery-ui-1.9.2.custom.min.js"></script>
<script src="js/plugins.js"></script>
<script src="js/main.js"></script>
<!-- Google Analytics: change UA-34856732-1π to be your site's ID. -->
<script>
var _gaq=[['_setAccount','UA-34856732-1'],['_trackPageview']];
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
s.parentNode.insertBefore(g,s)}(document,'script'));
</script>
</body>
</html>