$("body").on("click",".tanchuan21354 .close",function(){ $(this).parent().hide(); }) var ad_margin=""; var ad_max_margin=""; if( $(window).width()>500) { ad_margin="margin-left:-300px;left: 50%;"; ad_max_margin="max-width:600px;"; } var ad_margin_top=""; if( $(window).height()>625) { //ad_margin_top="margin-top:-500px;"; //ad_margin_top="margin-top:-500px;"; } $("body").append('
X
');