greywire
Posts: 37
|
| Posted: 03/17/2006, 3:59 PM |
|
There's an excelent javascript library that makes AJAX a breeze, called prototype.js. There are also several packages (rico, scriptaculous) based on prototype.js that handle lots of neat effects.
The only problem is that prototype.js causes some problems for some javascript code. In particular, the pop up date picker in CCS. Here's a simple fix for this problem.
In DatePicker.js, in function createWeekdayList(), starting from line 961 you have this code:
// Loop through weekday array
var columnCount = 0;
for (i in listShortWeekdays)
{
if (listShortWeekdays.propertyIsEnumerable(i)) { //** custom: added to workaround prototype.js extensions
weekdays += "<TD class=\"CalendarWeekdayName\" align=\"center\">" + newWeekdayArray + "</TD>";
columnCount++;
} //** custom
}
The two lines with the "custom" comments are what you need to add.
Another really neat javascript library is behavior.js, check it out at http://bennolan.com/behaviour/ http://bennolan.com/behaviour/
_________________
--
Aric Caley
Fonality, inc |
 |
 |
mamboBROWN
Posts: 1713
|
| Posted: 03/20/2006, 11:21 AM |
|
greywire
You may want to add this to the Tips and solutions forum. Just a suggestion...
|
 |
 |
|