📅  最后修改于: 2022-03-11 15:02:55.633000             🧑  作者: Mango
function openNav() {
// document.getElementById("mySidenav").style.width = "250px";
targList = document.getElementsByClassName("targ");
document.getElementsByClassName("targ")
if (targList) {
for (var x = 0; x < targList.length; x++) {
targList[x].style.visibility = "hidden";
}
}
document.getElementById("targimg").style.textAlign = "center";
}