Gemerl的gravatar头像
Gemerl 2015-10-18 02:13:48

jquery编写的alert弹窗插件带模式化窗口,支持$.alert({参数})语法,支持拖拽

自己编写的alert插件带模式化窗口 支持$.alert({参数});  确定框支持拖动..

上传不了图片,效果图也只好传到源码附件中了..

$(function(){
		
		box=$.alert({
			title:"你确定删除吗?",
			content:"你是个中国人吗?  你妹呀..",
			background_color:"white",
			width:300,
			height:150,
			titleHeight:25
		});
		//box.open();
		$("#show").click(function(){box.open()});
		$("#close").click(function(){box.close()});
		
		//alert(8888)
	})

jquery编写的alert弹窗插件带模式化窗口,支持$.alert({参数})语法,支持拖拽

现在这个插件还有一个bug  希望有大神解决;  就是我点击确定按钮的时候是可以执行传进去的函数的,

但是,我怎么让我传进去的函数执行完成才关闭我的模式化窗口呢??

gif动图


打赏

文件名:alert.rar,文件大小:84.612K 下载
  • /
    • /2015-10-18_020256.png
      • /alert
        • /alert/alert.html
          • /alert/css
            • /alert/css/alert.css
          • /alert/js
            • /alert/js/alert.js
            • /alert/js/jquery.js
最代码最近下载分享源代码列表最近下载
zhu132  LV11 2019年7月17日
du994656201  LV1 2017年7月6日
乏味123456  LV1 2016年10月21日
lmc110  LV1 2016年9月26日
dagf113225  LV68 2016年3月28日
君子风彪  LV13 2015年11月26日
潘欢欢还  LV2 2015年10月21日
日久生情  LV19 2015年10月20日
buy616  LV20 2015年10月20日
最代码官方  LV167 2015年10月18日
最代码最近浏览分享源代码列表最近浏览
xxx520520  LV6 2023年5月29日
一起加油  LV4 2023年2月10日
xuthus  LV1 2022年12月12日
858508237 2022年7月1日
暂无贡献等级
手可摘星辰1  LV2 2022年5月4日
Mayoubin2001  LV21 2022年3月26日
13798956075  LV1 2021年10月8日
谁是谁的谁啊啊啊aa 2021年7月14日
暂无贡献等级
乘风逐月  LV8 2021年6月23日
webempire  LV8 2021年6月15日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友