-
Notifications
You must be signed in to change notification settings - Fork 80
/
index.html
executable file
·297 lines (237 loc) · 11.7 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
<!DOCTYPE html>
<html>
<head>
<title>dyCalendarJS</title>
<!-- twitter bootstrap -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<!-- dycalendarjs stylesheet -->
<link href="css/dycalendar.min.css" rel="stylesheet"/>
</head>
<body>
<div class="container">
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
<div class="text-center">
<h1>dyCalendarJS</h1>
<p>This is a JavaScript library to create Calendar. You can use it in your blog and website.</p>
<div class="text-center">
<a class="btn btn-default btn-lg" href='https://github.com/yusufshakeel/dyCalendarJS/releases'>Download</a>
<a class="btn btn-default btn-lg" href='https://github.com/yusufshakeel/dyCalendarJS'>GitHub</a>
</div>
<h3>Created by: <a href='https://github.com/yusufshakeel'>Yusuf Shakeel</a></h3>
<h4><a href='https://www.youtube.com/watch?v=Xnsedp4cl8M'>Click here</a> to watch the tutorial video.</h4>
<h4><a href='https://www.dyclassroom.com/dycalendarjs/introduction'>Click here</a> for the documentation.</h4>
</div>
<div class="text-center">
<h3>License</h3>
<p>It's free and released under <a href="https://github.com/yusufshakeel/dyCalendarJS/blob/master/LICENSE">MIT License</a> Copyright (c) 2016 <a href="https://github.com/yusufshakeel">Yusuf Shakeel</a></p>
</div>
</div>
<div class="col-xs-12 col-sm-12 col-md-6 col-md-offset-3 col-lg-6 col-lg-offset-3">
<h2 class="text-center">Getting Started</h2>
<p>Include the JavaScript and Stylesheet file in your page.</p>
<p>Create a <code>div</code> and give it an id like <code>#sample-calendar</code> and the <code>.dycalendar-container</code> class.</p>
<p>Call the <code>draw()</code> method of dyCalendarJS to draw the calendar.</p>
<pre><code><!DOCTYPE html>
<html>
<head>
<title>dyCalendarJS</title>
<link href="path/to/dycalendar.min.css" rel="stylesheet">
</head>
<body>
<div id="sample-calendar" class="dycalendar-container">
</div>
<!-- javascript -->
<script src="path/to/dycalendar.min.js"></script>
<script>
dycalendar.draw({
target: '#sample-calendar'
});
</script>
</body>
</html>
</code></pre>
</div>
<!-- DEMO -->
<div class="col-xs-12 col-sm-12 col-md-6 col-md-offset-3 col-lg-6 col-lg-offset-3">
<h1 class="text-center">Demo</h1>
<div class="some-class">
<h2>Today calendar (default skin)</h2>
<div class="calendar-container">
<div id="dycalendar-today" class="dycalendar-container"></div>
</div>
</div>
<hr/>
<div class="some-class">
<h2>Month calendar (default skin)</h2>
<div class="calendar-container">
<div id="dycalendar-month" class="dycalendar-container"></div>
</div>
</div>
<hr/>
<div class="some-class">
<h2>Day calendar (default skin)</h2>
<div class="calendar-container">
<div id="dycalendar-day" class="dycalendar-container"></div>
</div>
</div>
<div class="some-class">
<h2>Today calendar (skin-blue)</h2>
<div class="calendar-container">
<div id="dycalendar-today-with-skin" class="dycalendar-container skin-blue"></div>
</div>
</div>
<div class="some-class">
<h2>Today calendar (skin-black shadow-default)</h2>
<div class="calendar-container">
<div id="dycalendar-today-with-skin-shadow" class="dycalendar-container skin-black shadow-default"></div>
</div>
</div>
<hr/>
<div class="some-class">
<h2>Month calendar (default current month) (skin-red)</h2>
<div class="calendar-container">
<div id="dycalendar-month-with-skin" class="dycalendar-container skin-red"></div>
</div>
</div>
<div class="some-class">
<h2>Month calendar (21st October 1990) (skin-green shadow-default)</h2>
<div class="calendar-container">
<div id="dycalendar-month-with-skin-shadow" class="dycalendar-container skin-green shadow-default"></div>
</div>
</div>
<hr/>
<div class="some-class">
<h2>Month Calendar 1 target class = "dycalendar-month"</h2>
<div class="dycalendar-month dycalendar-container skin-purple"></div>
</div>
<div class="some-class">
<h2>Month Calendar 2 target class = "dycalendar-month"</h2>
<div class="dycalendar-month dycalendar-container skin-blue shadow-default"></div>
</div>
<hr/>
<div class="some-class">
<h2>Month Calendar with prev-next-button id = "dycalendar-month-prev-next-button"</h2>
<div id="dycalendar-month-prev-next-button" class="dycalendar-container skin-green shadow-default"></div>
</div>
<div class="some-class">
<h2>Month Calendar with prev-next-button class = "dycalendar-month-prev-next-button"</h2>
<div class="dycalendar-month-prev-next-button dycalendar-container skin-red shadow-default"></div>
</div>
<div class="some-class">
<h2>Month Calendar with prev-next-button class = "dycalendar-month-prev-next-button"</h2>
<div class="dycalendar-month-prev-next-button dycalendar-container skin-purple shadow-default"></div>
</div>
<hr/>
<div class="some-class">
<h2>Month calendar (default current month) (round-edge)</h2>
<div class="calendar-container">
<div class="dycalendar-month dycalendar-container round-edge"></div>
</div>
</div>
<div class="some-class">
<h2>Month calendar (default current month) (round-edge shadow-default)</h2>
<div class="calendar-container">
<div class="dycalendar-month dycalendar-container round-edge shadow-default"></div>
</div>
</div>
<div class="some-class">
<h2>Month calendar (default current month) (round-edge shadow-black)</h2>
<div class="calendar-container">
<div class="dycalendar-month dycalendar-container round-edge shadow-black"></div>
</div>
</div>
<div class="some-class">
<h2>Month calendar (default current month) (round-edge shadow-blue)</h2>
<div class="calendar-container">
<div class="dycalendar-month dycalendar-container round-edge shadow-blue"></div>
</div>
</div>
<div class="some-class">
<h2>Month calendar (default current month) (round-edge shadow-green)</h2>
<div class="calendar-container">
<div class="dycalendar-month dycalendar-container round-edge shadow-green"></div>
</div>
</div>
<div class="some-class">
<h2>Month calendar (default current month) (round-edge shadow-purple)</h2>
<div class="calendar-container">
<div class="dycalendar-month dycalendar-container round-edge shadow-purple"></div>
</div>
</div>
<div class="some-class">
<h2>Month calendar (default current month) (round-edge shadow-red)</h2>
<div class="calendar-container">
<div class="dycalendar-month dycalendar-container round-edge shadow-red"></div>
</div>
</div>
<div class="some-class">
<h2>Month calendar (default current month) (round-edge shadow-spacegray)</h2>
<div class="calendar-container">
<div class="dycalendar-month dycalendar-container round-edge shadow-spacegray"></div>
</div>
</div>
<hr/>
<div class="some-class">
<h2>Month calendar (default current month) (round-edge default skin gradient)</h2>
<div class="calendar-container">
<div class="dycalendar-month dycalendar-container round-edge gradient"></div>
</div>
</div>
<div class="some-class">
<h2>Month calendar (default current month) (round-edge skin-black gradient)</h2>
<div class="calendar-container">
<div class="dycalendar-month dycalendar-container round-edge skin-black gradient"></div>
</div>
</div>
<div class="some-class">
<h2>Month calendar (default current month) (round-edge skin-blue gradient)</h2>
<div class="calendar-container">
<div class="dycalendar-month dycalendar-container round-edge skin-blue gradient"></div>
</div>
</div>
<div class="some-class">
<h2>Month calendar (default current month) (round-edge skin-green gradient)</h2>
<div class="calendar-container">
<div class="dycalendar-month dycalendar-container round-edge skin-green gradient"></div>
</div>
</div>
<div class="some-class">
<h2>Month calendar (default current month) (round-edge skin-purple gradient)</h2>
<div class="calendar-container">
<div class="dycalendar-month dycalendar-container round-edge skin-purple gradient"></div>
</div>
</div>
<div class="some-class">
<h2>Month calendar (default current month) (round-edge skin-red gradient)</h2>
<div class="calendar-container">
<div class="dycalendar-month dycalendar-container round-edge skin-red gradient"></div>
</div>
</div>
<div class="some-class">
<h2>Month calendar (default current month) (round-edge skin-spacegray gradient)</h2>
<div class="calendar-container">
<div class="dycalendar-month dycalendar-container round-edge skin-spacegray gradient"></div>
</div>
</div>
</div>
<!--/ DEMO ENDS HERE -->
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
<div class="text-center">
<h3>Donate</h3>
<p>Feeling generous ♥ Buy me a cup of tea</p>
<p><a href="https://www.paypal.me/yusufshakeel">Donate via PayPal</a></p>
</div>
<hr>
<div class="text-center">
<p>Copyright © Yusuf Shakeel</p>
<p>MIT License</p>
</div>
</div>
</div>
</div>
<!-- javascript -->
<script src="js/dycalendar.min.js"></script>
<script src="js/default.js"></script>
</body>
</html>