I use the jquery slider to select the start and end times. This is normal, but I need to add restrictions to it. Basically, I have an accessibility window that I need to trick. So in my example: http://madeeasyfor.me/stackoverflow/time_pick_test_1.html
(I commented on the check function so that you can see the slider, the code has absolute paths to all scripts, so feel free to get the source source dump for local use)
I have 24 hours. With a dynamically generated PHP script, I want to add various ordered times .. therefore, when a user tries to select a pre-booked time, they will receive an error message (pop-up, whatever). At the moment I am hard-coded my orders.
I canβt make my life seem to make the slider recognize the previously selected times.
If I do not understand anything, ask ... I could just do checks in PHP after the user has selected the time, but I would like the user to instantly find out. (Ideally, I would like to colorize the slide bar to mark the predefined times .. but this is another problem ...; -p
Tris ...
Beertastic
source share