调用的时候传对象过去就可以了
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | <!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> |
特别申明:
本站所有资源都是由网友投稿发布,或转载各大下载站,请自行检测软件的完整性!
本站所有资源仅供学习与参考,请勿用于商业用途,否则产生的一切后果将由您自己承担!
如有侵权请联系我们删除下架,联系方式:lei1294551502@163.com