Sha256: 525a083724e9a0e34ec4bc34770081bb5625ae00904fbf21096d034264aa2dda
Contents?: true
Size: 1.76 KB
Versions: 7
Compression:
Stored size: 1.76 KB
Contents
<h1>Events</h1> <p><em>mouse over an event to preview; click on an event for full details</em></p> <div id="calendar_now" class="calendars"></div> <div id="calendar_one_month" class="calendars"></div> <div id="calendar_two_months" class="calendars"></div> <div style="clear:both"></div> <div id="event_quick_description" style="display:none"></div> <% content_for :javascript do %> <script type="text/javascript"> $(document).ready(function() { $(".nice_table").tablesorter( { widgets: ['zebra'], headers: { 3:{sorter: false}, 4:{sorter: false}, 5:{sorter: false}} }); $('#calendar_now').fullCalendar({ editable: false, events: '<%= events_path %>', height: 300, aspectRatio: 1.2, buttonText: { today:null, prev:null, next: null }, eventMouseover: updateEventDescription }); $('#calendar_one_month').fullCalendar({ editable: false, events: '<%= events_path %>', height: 300, aspectRatio: 1.2, buttonText: { today:null, prev:null, next: null }, eventMouseover: updateEventDescription }); $('#calendar_two_months').fullCalendar({ editable: false, events: '<%= events_path %>', height: 300, aspectRatio: 1.2, buttonText: { today:null }, eventMouseover: updateEventDescription, month: $('#calendar_one_month').fullCalendar('getDate').getMonth() + 1, viewDisplay: function(view) { $('#calendar_now').fullCalendar('gotoDate', $('#calendar_two_months').fullCalendar('getDate').getFullYear(), $('#calendar_two_months').fullCalendar('getDate').getMonth() - 2); $('#calendar_one_month').fullCalendar('gotoDate', $('#calendar_two_months').fullCalendar('getDate').getFullYear(), $('#calendar_two_months').fullCalendar('getDate').getMonth() - 1); } }); } ); </script> <% end %>
Version data entries
7 entries across 7 versions & 1 rubygems