Mercurial > hg > index.fcgi > www > www-1
comparison bootstrap-year-calendar/index.html @ 140:ae6b4032a912
myrss2: FEEDS: Add jabberwocking.com, remove danielmiessler.com
author | paulo |
---|---|
date | Mon, 03 Jul 2023 04:40:23 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:31a82d98bc6f |
---|---|
1 <html> | |
2 <head> | |
3 <link rel="stylesheet" type="text/css" href="bootstrap.min.css"> | |
4 <link rel="stylesheet" type="text/css" href="bootstrap-year-calendar.min.css"> | |
5 </head> | |
6 <body> | |
7 <script src="jquery-1.10.min.js"></script> | |
8 <script src="bootstrap.min.js"></script> | |
9 <script src="bootstrap-year-calendar.min.js"></script> | |
10 | |
11 <div id="calendar"></div> | |
12 </body> | |
13 | |
14 <script> | |
15 $("#calendar").calendar({ | |
16 customDayRenderer: function(cellContent, currentDate) { | |
17 var todayDateString = (new Date()).toDateString(); | |
18 if (currentDate.toDateString() == todayDateString) { | |
19 cellContent.css('background', '#EEE'); | |
20 } | |
21 } | |
22 }); | |
23 </script> | |
24 | |
25 </html> |