I would like to suggest a change in the function below in order to leave it available for translations:
Code: Select all
function nuTitleBox(n, l){
var t = 'SMTWTFS';
var c = nuAppendChild(document.getElementById('nuCalendar'),'div','nuCalTitle'+n);
c.style.position = 'absolute';
c.style.top = (window.nuCalTop + 97) + 'px';
c.style.left = l + 'px';
c.style.width = '28px';
c.style.height = '18px';
c.style.backgroundColor = '#EDEDED';
c.style.color = '#000000';
c.style.borderColor = '#D3D3D3';
c.style.borderStyle = 'solid';
c.style.borderWidth = '1px';
c.style.fontSize = '14px';
c.style.textAlign = 'center';
c.innerHTML = t.substr(n, 1);
}
Code: Select all
var t = nuTranslate('SMTWTFS');