Darn. EE messed up my code in the first sample. I will put it in the snippet below. They are working to fix that and I thought it was.
bol
I'm trying to modify a events calendar I found online. The calendar works fine, but I want to modify the code to highlight the day that has events versus showing the actual event title/description. Essentially, I would like all <TD> cells that have events to show in say green and make that particular date click-able and all <TD> cells that have no events just display in plain text. I tried to modify the code but when I did it worked for the current month, then next month was completely blank - no dates were showing up. I've attached the original code I found. Any suggestions and/or guidance would be greatly appreciated.
Thanks.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Thanks for replying to my post b0lsc0tt. I appreciate your assistance.
I don't think it's problem on the CSS side of the code. My problem is that I don't want to show the event info at all - just highlight the day instead when an event exists. I'm posted the HTML code you requested and also attached a screen shot of the calendar to give you a better idea. The code looks like it's populating the dates first then pulling all events for each day in a loop. HTML code below. Any further guidance or suggestions will be greatly appreciated. Thanks again.
Business Accounts
Answer for Membership
by: b0lsc0ttPosted on 2008-07-24 at 16:40:39ID: 22084753
sk1922,
Can you provide some of the html that is made by that? Specifically a sample of the table that shows the calendar with some events.
A quick and simple way to "highlight" the day would be to change line 82 in the snippet above to (see snippet).
You could also add some CSS code in the head section or other CSS for this page to add a background color for the ActiveEvent class. E.g.
.ActiveEvent { background-color: blue; }
Of course you can use any color you want. If doing this in the div is not enough and you want the cell then the html I asked for will help us do that. I don't believe just CSS can do this though so we would need some Javascript to run onload of the page. I can help with that if need but hopefully the div will provide the effect you want.
Let me know if you have any questions or need more information.
b0lsc0tt
EDITED - moved code to snippet in new comment **