Debian Codegraph @

tests/manual/old/issue_244_aspectRatio_0.html

raw
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <link href='../../dist/fullcalendar.css' rel='stylesheet' />
5 <link href='../../dist/fullcalendar.print.css' rel='stylesheet' media='print' />
6 <script src='../../node_modules/jquery/dist/jquery.js'></script>
7 <script src='../../node_modules/moment/moment.js'></script>
8 <script src='../../dist/fullcalendar.js'></script>
9 <script>
10
11 $(document).ready(function() {
12
13 $('#calendar').fullCalendar({
14 headerToolbar: {
15 left: 'prev,next today',
16 center: 'title',
17 right: 'month,week,dayGridWeek,day,dayGridDay'
18 },
19 initialView: 'week', // month view also looked scrunched
20 aspectRatio: 0
21 });
22
23 // shouldnt allow aspectRatios to *actually* go under .5
24
25 });
26
27 </script>
28 <style>
29
30 body {
31 margin-top: 40px;
32 text-align: center;
33 font-size: 13px;
34 font-family: "Lucida Grande",Helvetica,Arial,Verdana,sans-serif;
35 }
36
37 #calendar {
38 width: 900px;
39 margin: 0 auto;
40 }
41
42 </style>
43 </head>
44 <body>
45 <div id='calendar'></div>
46 </body>
47 </html>