在一些地方用到了,弹出蒙层的方法来给用户提示。html代码如下 div 层 套图片
}(".tan").click(function(){ (".tan").hide();
});(".share_btn").click(function(){ $(".tan").show(); });
![](images/ty_fx.png)
js控制图片显示和隐藏
function shareGo(){ (".tan").show();}(".tan").click(function(){ (".tan").hide();
});(".share_btn").click(function(){ $(".tan").show(); });