AndyGB4
Posts: 122
|
| Posted: 03/06/2013, 1:58 PM |
|
Hi,
I'm working on an appointment application.
I've figured out how to add background color to days that are 'booked', but how do I make the fields with NO event clickable (like maybe have a full <div> in the day box, and surround it with an <a> tag).
This is the way the calendar hierarchy is set up by Codecharge:
<!-- BEGIN Day -->
This is where code goes for every single day, DayNumber is here
- - - - <!-- BEGIN EventRow -->
- - - - This is where code goes for when there is an event (booked)
- - - - <!-- END EventRow -->
<!-- END Day -->
<!-- BEGIN EmptyDay -->
This is where code goes for empty squares at beg + end of month
<!-- END EmptyDay -->
So as you can see anything I add in the <DAY> section would take effect everywhere.
Does anyone know how I can make only the days with NO events clickable?
Thanks!
|