static.scripts.course.availTimeForPreProcessor.js Maven / Gradle / Ivy
var colors=new Array() ;
colors["1"]="#94aef3";
colors["0"]="yellow";
function changeAvailTime(elem,tdId,innerText,courseIdSeq){
var selectUnitNums = document.getElementsByName('selectUnitNum'); //一次选择的节次
var num=4;
for(var i=0;i2){
span.innerHTML+= innerText.substring(0,2)+"..,
";
}else{
span.innerHTML+= innerText+",
";
}
valueList.value+=courseIdSeq+",";
span.title+= innerText+",";
}else{
var splitSeq="";
if(isFirefox=navigator.userAgent.indexOf("Firefox")>0){
splitSeq="
";
}else{
splitSeq="
";
}
var valueListSeq=valueList.value.split(",");
var innerSeq=span.innerHTML.split(splitSeq);
var titleSeq=span.title.split(",");
var tempValue="";
var tempInner="";
var tempTitle="";
for(var j=0; j ";
}else if(innerSeq[j].indexOf(innerText.substring(0,2)) == -1 && innerSeq[j]!=""&& innerSeq[j]!="," ){
tempInner+=innerSeq[j].toString()+"
";
}else if(innerSeq[j].indexOf(innerText.substring(0,2)) != -1){
tem=1;
}
}
span.innerHTML=tempInner;
for(var j=0; j
© 2015 - 2025 Weber Informatics LLC | Privacy Policy