I'm looking at the resizable jQuery UI element: http://jqueryui.com/demos/resizable/#snap-to-grid
I have a grid of booking slots - ie. days of week down the left, and hours of the day across the top - all arranged as individual DIVs into a grid.
What I would like to be able to do is, someone click on an open slot (or hour) to book that time - however, if there is time available before or after the hour clicked on, allow the person to resize their hour booking to the next hour, but not to allow it to overlap an already existing slot on that day.
Does anyone know of any examples that show how to do this?
Thanks for any pointers