HI,
It looks a like JS issue to me where you are add .hover class but losing the .curdate class so the border disappears.
Bearing in ming I know nothing about javascript changing the code as follows seems to fix the issue.
Code:
CalCell.prototype.onmouseover = function () //replicate CSS :hover effect for non-supporting browsers <iehack>
{
//reduce indirection:
var cell = this.cellObj;
var owner = cell.owner;
if (cell.date.getYear() < owner.curDate.getYear()) {
return;
} else if (cell.date.getMonth() < owner.curDate.getMonth() &&
cell.date.getYear() == owner.curDate.getYear()) {
return;
} else if ( (cell.date.getDate() < owner.curDate.getDate()) &&
(cell.date.getMonth() == owner.curDate.getMonth()) &&
(cell.date.getYear() == owner.curDate.getYear()) ) {
return;
}
this.setAttribute('class', this.className+=" hover");
this.setAttribute('className', this.className+=" hover");
};
It was previously:
Code:
this.setAttribute('class',this.cellClass + ' hover');
this.setAttribute('className',this.cellClass + ' hover');
However cellClass seems to be undefined but as I said I know nothing virtually nothing about javascript
Bookmarks