in $(document).ready I’m adding a class to one of the #calendar tr’s to represent the “current” time, then I’m calling the jQuery function scrollTop() to scroll .fc-agenda-body to that position. It works, but it looks as though .fc-agenda-body is being force back to the top after the events render. Can I unbind this event somehow OR is there an event I can bind to once ALL of the calendar events have been rendered?
in $(document).ready I’m adding a class to one of the #calendar tr’s to represent
Share
You have the
firstHourproperty set, which determines which hour the calendar will initially display, it won’t prevent the user from scrolling up.If you want to prevent that, then use
minTimeinstead.