//点击除'#share_box'外的地方,隐藏'#share_box' $(document).click(function(){ $('#share_box').slideUp('1000'); }); $("#share_box").click(function(event){ event.stopPropagation(); });
点击元素外的地方,隐藏该元素
猜你喜欢
转载自blog.csdn.net/chose_doit/article/details/78142796
今日推荐
周排行