<!DOCTYPE html>
<html lang="en">
<head>
<style type="text/css">
.box-title{
color: red;
font-size: 20px;
}
.box-main {
/*background-color: #00a0e9;*/
}
.tips-ico{
/*background-color: orchid;*/
padding: 5px;
margin: 10px;
}
.icon-warn{
color: palevioletred;
font-size: 18px;
line-height: 36px;
text-align: center;
margin: 0 auto;
}
.tips-content{
/*background-color: yellowgreen;*/
margin: 10px;
}
.tips-title{
color: red;
font-size: 18px;
line-height: 36px;
padding: 10px;
}
span{
padding: 10px;
margin: 20px;
}
.simplemodal-close{
height: 30px;
width: 50px;
color: #00a0e9;
}
</style>
<meta charset="UTF-8">
<title>simplemodel</title>
<script src="jquery.js" type="text/javascript"></script>
<script src="simplemodel.js" type="text/javascript"></script>
<script type="text/javascript">
$(function () {
$("#basic-dialog-warn").hide();
$("#my").click(function () {
$("#basic-dialog-warn").modal().show();
})
})
</script>
</head>
<body>
<div id="basic-dialog-warn">
<div class="box-title"><h2>提示</h2></div>
<div class="box-main">
<div class="tips-ico">
<span class="icon-warn"><img src="xx.png" height="100" width="100"></span>
<div class="tips-content">
<div class="tips-title">系统繁忙,请稍后再试</div>
</div>
</div>
<div class="box-buttons"><button type="button" class="simplemodal-close">关闭</button> </div>
</div>
</div>
<button id="my">dassds</button>
</body>
</html>
优化js alert的样式 支持自定义扩展 带应用实例 (jquery)
需积分: 50 51 浏览量
2017-05-07
14:59:23
上传
评论
收藏 623KB RAR 举报
22458
- 粉丝: 1
- 资源: 9
最新资源
- 实验项目一:线性表(模板 ).docx
- 基于LM317A设计交流220V输入可调5V-12V直流输出稳压电源电路multisim10仿真源文件.zip
- Screenshot_2024-04-25-17-04-18-55_2332cb9b27b851b548ba47a91682926c.jpg
- -基于AVR单片机的LNG加液机控制器设计.pdf
- ThePowerOfNow-EckhartTolle.mobi
- BLOCK_TYPE_HEARTBEAT_D70A3465D4EE4E9_046141_dump_1st.dmp
- 项目方法测试调用接口工具
- studyupdate
- 基于西瓜数据集的决策树实现.zip
- 60套HTML网站源码-响应式-涵盖(简历&作品展示&商业&科技&培训&商城&课设等)-适配移动设备-解压即用.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈