js随机隐藏

原创 hlq81619335 随笔 html 180阅读 2018-01-05 13:45:33 举报

<div class="m-s21-main-page-a">
<div class="m-s21-top-qianbox animated shake infinite">
</div>
<div class="m-s21-top-hand animated pulseone infinite">
</div>
<div class="m-s21-top-word animated bounce">
</div>
<div class="m-s21-top-hengpi animated bounce">
</div>
<div class="m-pc-tipssg">
</div>
<div class="m-p-dete">
<img class="" src="//img20.360buyimg.com/cms/jfs/t16435/194/1263216851/2835/10ebe08b/5a4dfd7cNc385f2bb.png">
</div>
<div class="m-tbox-tips-a mis-three" style="display: none;">
<img class="J_imgLazyload" src="//img14.360buyimg.com/cms/g10/M00/13/04/rBEQWFFj4PUIAAAAAAAESxyqJLUAADvdAIHC9oAAARj186.gif" original="//img20.360buyimg.com/cms/jfs/t13174/267/1393608956/40998/8815902f/5a4cb314N0d42b424.png">
<div class="m-s21-closebtn">
<img class="J_imgLazyload" src="//img14.360buyimg.com/cms/g10/M00/13/04/rBEQWFFj4PUIAAAAAAAESxyqJLUAADvdAIHC9oAAARj186.gif" original="//img20.360buyimg.com/cms/jfs/t14455/350/1275983919/2318/d4e6cd1b/5a4b574fNeb7babd1.png">
</div>
<div class="m-s21-againbtn">
<img class="J_imgLazyload" src="//img14.360buyimg.com/cms/g10/M00/13/04/rBEQWFFj4PUIAAAAAAAESxyqJLUAADvdAIHC9oAAARj186.gif" original="//img10.360buyimg.com/cms/jfs/t14284/171/1273602795/6359/5a7f481d/5a4b573cN941ba3dd.png">
</div>
</div>
<div class="m-tbox-tips-c mis-three" style="display: none;">
<img class="J_imgLazyload" src="//img14.360buyimg.com/cms/g10/M00/13/04/rBEQWFFj4PUIAAAAAAAESxyqJLUAADvdAIHC9oAAARj186.gif" original="//img13.360buyimg.com/cms/jfs/t14533/103/1326069972/41886/63016722/5a4cb314N18861f84.png">
<div class="m-s21-closebtn">
<img class="J_imgLazyload" src="//img14.360buyimg.com/cms/g10/M00/13/04/rBEQWFFj4PUIAAAAAAAESxyqJLUAADvdAIHC9oAAARj186.gif" original="//img20.360buyimg.com/cms/jfs/t14455/350/1275983919/2318/d4e6cd1b/5a4b574fNeb7babd1.png">
</div>
<div class="m-s21-againbtn">
<img class="J_imgLazyload" src="//img14.360buyimg.com/cms/g10/M00/13/04/rBEQWFFj4PUIAAAAAAAESxyqJLUAADvdAIHC9oAAARj186.gif" original="//img10.360buyimg.com/cms/jfs/t14284/171/1273602795/6359/5a7f481d/5a4b573cN941ba3dd.png">
</div>
</div>
<div class="m-tbox-tips-d mis-three" style="display: none;">
<img class="" src="//img11.360buyimg.com/cms/jfs/t15661/155/1168320872/43032/542e4c29/5a4cb300N2532fd71.png">
<div class="m-s21-closebtn">
<img class="" src="//img20.360buyimg.com/cms/jfs/t14455/350/1275983919/2318/d4e6cd1b/5a4b574fNeb7babd1.png">
</div>
<div class="m-s21-againbtn">
<img class="" src="//img10.360buyimg.com/cms/jfs/t14284/171/1273602795/6359/5a7f481d/5a4b573cN941ba3dd.png">
</div>
</div>
<div class="m-tbox-tips-f mis-three" style="display: block;">
<img class="" src="//img11.360buyimg.com/cms/jfs/t15487/202/1194787597/42827/98432990/5a4cb300N6930a9c0.png">
<div class="m-s21-closebtn">
<img class="" src="//img20.360buyimg.com/cms/jfs/t14455/350/1275983919/2318/d4e6cd1b/5a4b574fNeb7babd1.png">
</div>
<div class="m-s21-againbtn">
<img class="" src="//img10.360buyimg.com/cms/jfs/t14284/171/1273602795/6359/5a7f481d/5a4b573cN941ba3dd.png">
</div>
</div>
<div class="m-tbox-tips-i mis-three" style="display: none;">
<img class="J_imgLazyload" src="//img14.360buyimg.com/cms/g10/M00/13/04/rBEQWFFj4PUIAAAAAAAESxyqJLUAADvdAIHC9oAAARj186.gif" original="//img11.360buyimg.com/cms/jfs/t15313/302/1362629645/37558/64775c74/5a4cb314N72080218.png">
<div class="m-s21-closebtn">
<img class="J_imgLazyload" src="//img14.360buyimg.com/cms/g10/M00/13/04/rBEQWFFj4PUIAAAAAAAESxyqJLUAADvdAIHC9oAAARj186.gif" original="//img20.360buyimg.com/cms/jfs/t14455/350/1275983919/2318/d4e6cd1b/5a4b574fNeb7babd1.png">
</div>
<div class="m-s21-againbtn" style="top:40%;">
<img class="J_imgLazyload" src="//img14.360buyimg.com/cms/g10/M00/13/04/rBEQWFFj4PUIAAAAAAAESxyqJLUAADvdAIHC9oAAARj186.gif" original="//img10.360buyimg.com/cms/jfs/t14284/171/1273602795/6359/5a7f481d/5a4b573cN941ba3dd.png">
</div>
</div>
</div>
<script>
$(function(){
$(".m-s21-top-hand,.m-s21-top-qianbox").click(function(){
$(".m-s21-main-page-a .mis-three").hide();
var msk=Math.ceil(Math.random()*5);
$(".m-s21-main-page-a .mis-three").eq(msk).show();
});
$(".m-s21-closebtn,.m-s21-againbtn").click(function(){
$(".m-s21-main-page-a .mis-three").hide();
});
})
</script>

评论 ( 0 )
最新评论
暂无评论

赶紧努力消灭 0 回复