码迷,mamicode.com
首页 > 其他好文 > 详细

layer1.8UI

时间:2016-04-23 01:43:47      阅读:122      评论:0      收藏:0      [点我收藏+]

标签:

<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>警告提示</title>
</head>
<body>
<script type="text/javascript" src="../jquery_ui/jquery-1.11.2.js"></script>
<script type="text/javascript" src="../layer/layer.min.js"></script>
<script type="text/javascript">
var setTimeLs = setTimeout(function(){ layer.close(index);location.history.go(-1);},6000);
var index = $.layer({
shade: [0.2,‘#000‘],
area: [‘455px‘,‘auto‘],
closeBtn:false,
title:‘温馨提示!!!‘,
dialog: {
msg: ‘您的输入有非法字符,请正确输入!六秒后返回上一次操作...‘,
btns: 1,
type: 3,
btn: [‘立即返回‘],
yes: function(){
clearTimeout(setTimeLs);
layer.close(index);
location.history.go(-1);
}
}
});
</script>
</body>
</html>

layer1.8UI

标签:

原文地址:http://www.cnblogs.com/pghWord/p/5423456.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!