js代码
<script type="text/javascript" src="js/flow.js"></script> <script type="text/javascript"> var myAlert = document.getElementById("alert"); var myMask=document.getElementById('mask'); $("#content a").click(function(){ myMask.style.display="block"; myAlert.style.display = "block"; document.body.style.overflow = "hidden"; }) $(".close").click(function(){ myAlert.style.display = "none"; myMask.style.display = "none"; }) </script>