<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>demo</title>
<script type="text/javascript" src="jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="aesst/style.js"></script>
<link rel="stylesheet" type="text/css" href="aesst/style.css" /></head>
<body>
<input type="button" name="" id="btn" value="弹窗" onclick="pop({width:500,width:500});" />
<script type="text/javascript">$(function() {
pop({
width: 500,
//提示窗口的宽度
height: 500,
//提示窗口的高度
title: '这是标题',
//提示窗口的标题
content: '这是提示信息' //提示窗口的内容
});
});</script>
</body>
</html>
jQuery轻量级弹窗
最新推荐文章于 2024-08-22 08:13:32 发布