Javascript问题 Unable to get property 'style' of undefined or null reference
推荐回答
document.getElementById() 括号里的内容是必须要有单引号或者双引号“”的。var target = document.getElementById(right_bottom_big); 改为 var target = document.getElementById("right_bottom_big"); 即可解决问题。为避免其他错误,其余三处也要添加单引号或者双引号。