What I need next is to have some code that will allow me to display information when a certain day is clicked. I tried using :active but that would crop the image/text within the square area of the specific day.
Basically, first create a class called "selected". When you click on any TD, remove the class "selected" from all TDs, and apply it to the one you just clicked.
I am relatively new to web coding and I need to create a calendar that has different colored days for different events. This is what I have so far:
....etc.
What I need next is to have some code that will allow me to display information when a certain day is clicked. I tried using :active but that would crop the image/text within the square area of the specific day.
Thanks, any help would be greatly appreciated!
Basically, first create a class called "selected".
When you click on any TD, remove the class "selected" from all TDs, and apply it to the one you just clicked.
Like this: http://jsfiddle.net/DvrEB/
Also, it's called SatUrday.
haha, I know I was typing fast and forgot to change it :)
I tried doing this but nothing happened...
....
.....
THANKS!!
Should be something like this:
And, again, it's SatUrday not SatErday. ;)