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)
	})
现在这个插件还有一个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日
            
            
        
                最代码官方     LV168
                2015年10月18日
            
            
         最近浏览
最近浏览
				
                Eddie233     LV6
                2024年10月11日
            
            
        
                xxx520520     LV6
                2023年5月29日
            
            
        
                一起加油     LV5
                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日
            
            
        




 
                 
                 
                 
                