hehaibao / hdialog Goto Github PK
View Code? Open in Web Editor NEWjQuery+CSS3 多功能表单弹出层插件
Home Page: http://hehaibao.github.io/hDialog/index.html
License: MIT License
jQuery+CSS3 多功能表单弹出层插件
Home Page: http://hehaibao.github.io/hDialog/index.html
License: MIT License
用了v2.0.1是正常的
用了这一个版本,发现当页面如果没有一个是有标题的,那么就不会有关闭的按钮,您的demo是因为一开始有一个自动弹窗所以给他加了关闭按钮
我测试过如果只用"不显示遮罩",在使用这个方法之前没有其他的,那么就不会有关闭按钮
在系统调用这两个函数中,无法使用 单击事件的 e.target获取源。好像您的data参数传递过来的是null。希望这块可以稍微做些改进。
我这边按照需要修改了如下代码,在元素的单击事件中传递了 e
T.on('click', function (e) { methods.open(_O, T, e); }
open: function (o, T, e) {
...
this.fire.call(this, o.beforeShow, e); // 原 this.fire.call(this, o.beforeShow);
...
}
close事件修改同上。希望能给您带来一些启发。
谢谢您的插件!
设置title的时候 反复打开关闭的时候,close按钮 ,一直在重复添加!··
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.