artDialog icon indicating copy to clipboard operation
artDialog copied to clipboard

经典的网页对话框组件

Results 103 artDialog issues
Sort by recently updated
recently updated
newest added

比如 在 startUpload回调中 获取很简单,如下: $("#uploader") ; 但是 $(".uploader")获取好多的节点,但是不能判断是否是当前点击的那个按钮的节点, 我怎么在startUpload回调中获取到当前点击上传的dom节点呢?

require.config({ paths: { 'jquery': '../../lib/jquery-1.11.1.min' ,'dialog': '../../mod/dialog/dialog' } }); require(['jquery', 'dialog'], function(){ var d = dialog({ title: '欢迎', content: 'xxxxx' }); d.show(); }); 调试 var fn = require[require.toUrl ? 'toUrl'...

在360最新版极速浏览器(chrome内核,内核版本45.0.2454.101)中,弹出框的位置、样式、已经标题均有错位的情况。使用官网的样例也是错乱,更换为其他内核正常。是否有兼容性问题。

通常调用hide后是为了后续可以继续展示. 建议_esc方法在判定时应该增加对当前窗口是否打开的检查. // 避免输入状态中 ESC 误操作关闭 if (!that.open || !isTop || rinput.test(nodeName) && target.type !== 'button') { return; }

用了artDialog很长时间 更新了这么多版本 为什么没有定时关闭的接口方法 本人JS功底有限 不会拓展

我是直接用默认的gruntfile打包的,然后打包的dialog-pulus-min不能直接用seajs加载,报错,说jQuery undefined。发现是grunt-upwrap的问题,想用seajs加载器加载的话,怎么配置gruntfile?

> WARNING in ./~/art-dialog/src/dialog.js > Critical dependencies: > 23:17-24 require function is used in a way in which dependencies cannot be statically extracted > 23:25-32 require function is used in...

版本号是6.0.4 ``` javascript /** * 设置内容 * @param {String, HTMLElement} 内容 */ content: function (html) { var $content = this._$('content'); // HTMLElement if (typeof html === 'object') { html =...

$(document).ready(function () { $("body").keydown(function (event) { if (event.keyCode == "13") {//keyCode=13是回车键 //$('#btnSumit').click(); art.dialog({ id: 'myselfdialog', lock: true, background: '#DFDFDF', // 背景色 opacity: 0.2, // 透明度 content: "xxxxx", title: "提示信息", width:...