Skip to content

Latest commit

 

History

History
55 lines (40 loc) · 2.38 KB

README.markdown

File metadata and controls

55 lines (40 loc) · 2.38 KB

jQuery.bookingsTimeline

Based on excellent jQuery.ganttView plugin by Frank (JC) Grubbs and its modification jQuery.bookingsTimeline by Laurynas Butkus.

The jQuery.bookingsTimeline plugin is a very lightweight plugin for creating a bookings timeline plain HTML...no vector graphics or images required.
The plugin supports dragging and resizing the blocks and callbacks to trap the updated data.

This fork adds the following features:

  • dragging between facilities (Y axis)
  • reverting dragging based on condition
  • displaying booking from midday to midday

Browser Compatibility

Currently the plugin has been tested, and is working in: FF 3.5+, Chrome 5+, Safari 4+, IE8+. There are minor issues in IE7 and I haven't even attempted to use it in IE6. If you encounter any issues with any version of Internet Explorer and would like to contribute CSS fixes please do so, several people have asked for IE6 support.

Dependencies

The plugin depends on the following libraries:

  • jQuery 1.4 or higher (obviously)
  • jQuery-UI 1.8 or higher
  • date.js

License

The jQuery.bookingsTimeline plugin may be used free of charge under the conditions of the following license:

The MIT License

Copyright (c) 2011 Roman Kalyakin - [email protected]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.