Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 
 
 
 
 

63 Zeilen
2.0 KiB

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset='utf-8' />
  5. <link href='../fullcalendar.css' rel='stylesheet' />
  6. <link href='../fullcalendar.print.css' rel='stylesheet' media='print' />
  7. <script src='../lib/moment.min.js'></script>
  8. <script src='../lib/jquery.min.js'></script>
  9. <script src='../fullcalendar.min.js'></script>
  10. <script src='../gcal.js'></script>
  11. <script>
  12. $(document).ready(function()
  13. {
  14. $('#calendar').fullCalendar(
  15. {
  16. // THIS KEY WON'T WORK IN PRODUCTION!!!
  17. // To make your own Google API key, follow the directions here:
  18. // http://fullcalendar.io/docs/google_calendar/
  19. googleCalendarApiKey: 'AIzaSyDcnW6WejpTOCffshGDDb4neIrXVUA1EAE',
  20. // US Holidays
  21. events: 'usa__en@holiday.calendar.google.com',
  22. eventClick: function(event)
  23. {
  24. // opens events in a popup window
  25. window.open(event.url, 'gcalevent', 'width=700,height=600');
  26. return false;
  27. },
  28. loading: function(bool)
  29. {
  30. $('#loading').toggle(bool);
  31. }
  32. });
  33. });
  34. </script>
  35. <style>
  36. body {
  37. margin: 40px 10px;
  38. padding: 0;
  39. font-family: "Lucida Grande", Helvetica, Arial, Verdana, sans-serif;
  40. font-size: 14px;
  41. }
  42. #loading {
  43. display: none;
  44. position: absolute;
  45. top: 10px;
  46. right: 10px;
  47. }
  48. #calendar {
  49. max-width: 900px;
  50. margin: 0 auto;
  51. }
  52. </style>
  53. </head>
  54. <body>
  55. <div id='loading'>loading...</div>
  56. <div id='calendar'></div>
  57. </body>
  58. </html>