js黑科技,使用offsetParent检测元素是否隐藏

NoSuchKey