<!--引入jq--> <script> var isShowTip = window.sessionStorage.getItem("isShow") ? window.sessionStorage.getItem('isShow') : false; if(!isShowTip) { window.sessionStorage.setItem("isShow", true); } else { document.getElementById("isshow").style.display = 'none'; } $("#tipBtn").bind("click", function() { $(".tip-shadow").hide(); }) </script>
<section class="tip-shadow" id="isshow"> <div class="tip-box"> <p style="margin-top: 10px; margin-bottom:15px;"></p> <span class="tipBtn" id="tipBtn">我知道了</span> </div> </section>