PDA

View Full Version : Multiple event colors, on-click popup


escKF
01-10-2005, 02:47 PM
I'm evaluating ESC to see if it will work in a new Web application designed to track weather history. I am not clear if ESC can provide two needed features:

1) Events can have different colors. The calendar needs to color each day in the calendar depending on the weather. For example, a sunny day will be yellow, rain - blue, snow - white, etc. Does ESC provide a feature to store a unique background color for each event in the database?

2) Pop up window to manage events. The user needs to be able to click any day on the calendar and have a pop-up window appear. In the pop-up, the user can select one of several fixed multiple choices (Sun, rain, snow, etc.) Instead of using the form-based input method (selecting the date from pull down lists), we just want to be able to click a day on the calendar to change the weather for that day.

Let me know if this is possible!

Thanks!

Brian
01-10-2005, 02:51 PM
Version 5 wasn't designed with these features. Version 6 will have the multiple color "categories", but I have not had anyone request the pop-up editor. I will add this to the wish list... :classic:

escKF
01-10-2005, 03:09 PM
Brian -- thanks for the blindingly fast reply!

Instead of coding an on-click popup, you might consider adding a simple Javascript hook to each day in the calendar. If the hook was enabled, clicking any day calls a Javascript function passing the date clicked as a parameter.

If the hook was there, one could code the pop-up window or any other functionality wanted...

While you're at it, an option to enable a mouseover Javascript hook would allow someone to code any mouseover functionality in place of the standard pop-up.

Thanks again for providing great product support!

Brian
01-10-2005, 03:11 PM
Thanks for the suggestions. :)