0

I have an end user who is the admin for a website and they insist on showing the available dates to the customer. They are showing the showings literally like this:

2-Mar,  9-Mar,  16-Mar,  23-Mar,  30-Mar-2014

6-Apr,  13-apr,  20-Apr,  27-Apr-2014

4-May,  11-May,  18-May,  25-May-2014

7-sep,  14-Sep,  21-Sep,  28-Sep-2014

5-Oct,  12-Oct,  19-Oct,  26-Oct-2014

2-Nov,  9-Nov,  16-Nov,  23-Nov,  30-Nov-2014

7-Dec,  14-Dec,  21-Dec,  28-Dec-2014

My question is, how can i easily and elegantly displays these dates?

9
  • check this display sally-brown.net/available-dates
    – Bala
    Dec 30, 2013 at 9:06
  • 1
    Thats a good idea! I could just show 2 columns in a HTML table and it should look much cleaner like that! Dec 30, 2013 at 9:07
  • your customer utterly refuses to use a calendar with highlighted "available" dates?
    – benteh
    Dec 30, 2013 at 9:27
  • Does such a thing exist? Dec 30, 2013 at 9:29
  • oh, and btw: your question is a little thin on information. It would be useful to know what technology and tools you are using, if you are programming it yourself, if you use a framework, what you have tried.
    – benteh
    Dec 30, 2013 at 9:29

1 Answer 1

1

It is a little hard to come up with very concrete suggestions, as I do not know the exact details of your calendar-needs.

The visually most elegant solution would be something like this: enter image description here

But since you are using jQuery (yay!), my first suggestion would be Datepicker: enter image description here

There are of course a million alternatives out there, just search for jQuery calendar. Another option is of course Google calendar, the web-widget. There are a squillion settings and customisations you can do there.

Edit: Since you gave us info that your calendar might need to be a booking-style one, check out this list of jQuery calendars.

..and I will strongly recommend that you use what is out there, and do not try to build your own from the ground up.

3
  • thanks dude! just need to work out how to display available dates easily. Remember the admin has to set the dates for about 30 holidays/trips! Dec 30, 2013 at 9:41
  • 30 trips - I did not know that, but you should be able to do it with some clever use of queries.
    – benteh
    Dec 30, 2013 at 9:47
  • @PriceCheaperton: if I were the admin setting 30 dates manually, I would want to "import a list" such as the one you posted in your question...
    – horatio
    Jan 7, 2014 at 20:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.