issue_477_event_width.html 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  2. <html>
  3. <head>
  4. <script type='text/javascript' src='../src/_loader.js?debug'></script>
  5. <script type='text/javascript'>
  6. $(document).ready(function() {
  7. // need to change to GMT+2 to recreate this bug!!!!
  8. $('#calendar').fullCalendar({
  9. header: {
  10. left: 'prev,next today',
  11. center: 'title',
  12. right: 'month,agendaWeek,basicWeek,agendaDay,basicDay'
  13. },
  14. year: 2010,
  15. month: 4,
  16. firstDay: 1,
  17. events: [
  18. {"id":"1","title":"testcase 1 BAD","start":"1272822975","end":"1272837609","allDay":false}
  19. //{"id":"2","title":"testcase 2 GOOD","start":"1272822975","end":"1272837809","allDay":false},
  20. //{"id":"3","title":"testcase 3 GOOD too","start":"1272822975","end":"1272837609","allDay":true}
  21. ]
  22. });
  23. });
  24. </script>
  25. <style type='text/css'>
  26. body {
  27. margin-top: 40px;
  28. text-align: center;
  29. font-size: 13px;
  30. font-family: "Lucida Grande",Helvetica,Arial,Verdana,sans-serif;
  31. }
  32. #calendar {
  33. width: 900px;
  34. margin: 0 auto;
  35. }
  36. </style>
  37. </head>
  38. <body>
  39. <div id='calendar'></div>
  40. </body>
  41. </html>