forked from yordanch/calendarJs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
31 lines (30 loc) · 892 Bytes
/
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Calendario</title>
<link rel="stylesheet" href="plug/css/all.css">
<link rel="stylesheet" href="plug/css/bootstrap.min.css">
<link rel="stylesheet" href="plug/css/fontawesome-all.min.css">
<link rel="stylesheet" href="css/calendar.css">
<script src="plug/js/jquery-3.2.1.min.js"></script>
<script src="plug/js/bootstrap.min.js"></script>
<script src="plug/js/moment.js"></script>
<script src="plug/js/moment-with-locales.js"></script>
<script src="js/calendar.js"></script>
</head>
<body>
<div id="calendar"></div>
</body>
<script>
moment.locale("es");
$(document).ready(function(e){
calendar = new CalendarYvv("#calendar", moment().format("Y-M-D"), "martes");
calendar.funcPer = function(ev){
console.log(ev)
};
calendar.diasResal = [4,15,26]
calendar.createCalendar();
});
</script>
</html>