fullcalendar/tests/issue_477_event_width.html

50 lines
1.1 KiB
HTML
Raw Permalink Normal View History

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2010-07-03 22:34:43 +02:00
<html>
<head>
<script type='text/javascript' src='../src/_loader.js?debug'></script>
2010-07-03 22:34:43 +02:00
<script type='text/javascript'>
$(document).ready(function() {
// need to change to GMT+2 to recreate this bug!!!!
$('#calendar').fullCalendar({
header: {
left: 'prev,next today',
center: 'title',
right: 'month,agendaWeek,basicWeek,agendaDay,basicDay'
},
year: 2010,
month: 4,
firstDay: 1,
events: [
{"id":"1","title":"testcase 1 BAD","start":"1272822975","end":"1272837609","allDay":false}
//{"id":"2","title":"testcase 2 GOOD","start":"1272822975","end":"1272837809","allDay":false},
//{"id":"3","title":"testcase 3 GOOD too","start":"1272822975","end":"1272837609","allDay":true}
]
});
});
</script>
<style type='text/css'>
body {
margin-top: 40px;
text-align: center;
font-size: 13px;
font-family: "Lucida Grande",Helvetica,Arial,Verdana,sans-serif;
}
#calendar {
width: 900px;
margin: 0 auto;
}
</style>
</head>
<body>
<div id='calendar'></div>
</body>
</html>