HANSONGTSENG (Talk | contribs) |
HANSONGTSENG (Talk | contribs) |
||
Line 506: | Line 506: | ||
sidebar[i].style.display = "inline-block"; | sidebar[i].style.display = "inline-block"; | ||
sidebar[i].style.width = "180px"; | sidebar[i].style.width = "180px"; | ||
− | items.firstChild.style.background-color = "#638695"; | + | items[i].firstChild.style.background-color = "#638695"; |
} | } | ||
else{ | else{ | ||
sidebar[i].style.display = "none"; | sidebar[i].style.display = "none"; | ||
− | items.firstChild.style.background-color = "#bbb"; | + | items[i].firstChild.style.background-color = "#bbb"; |
} | } | ||
} | } | ||
else{ | else{ | ||
sidebar[i].style.display = "none"; | sidebar[i].style.display = "none"; | ||
− | items.firstChild.style.background-color = "#bbb"; | + | items[i].firstChild.style.background-color = "#bbb"; |
} | } | ||
} | } |
Revision as of 14:09, 12 July 2018