前端 (cookie )页面进入存储一次
2024-09-22 08:37:52
<!--引入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>
最新文章
- QM模块包含主数据(Master data)和功能(functions)
- 管道寄售库存MRKO结算后,冲销问题
- POJ 3579
- SQL Server -SET QUOTED_IDENTIFIER
- css基础(二)
- Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2)的解决方法
- 如何理解CSS中的浮动 :其实他就像乘坐扶梯一样
- 【PHP】震惊,一张图详解递归函数!!!!
- windows 2008 VPN(PPTP/L2TP)搭建
- 【Android Studio安装部署系列】目录
- 20175324 2018-2019-2 《Java程序设计》第5周学习总结
- [Python设计模式] 第28章 男人和女人——访问者模式
- mescroll在vue中的应用
- asp.net core 通过ajax上传图片及wangEditor图片上传
- CentOS7 添加开机启动项
- 项目导入时报错:The import javax.servlet.http.HttpServletRequest cannot be resolved 解决方法
- .Net 环境
- 三个Linux权限
- javascript本地,宿主,内置对象
- tar、7z(7zip)压缩/解压缩指令的使用