jQuery Simple Dialog 是一个用来实现弹出很简单的模态对话框的 jQuery 插件。
示例代码:
$(document).ready(function () {
$('.simpledialog').simpleDialog({
opacity: 0.3,
duration: 500,
title: 'Simple Dialog',
open: function (event) {
console.log('open!');
},
close: function (event, target) {
console.log('close!');
}
});
});
<head> <meta charset="utf-8"> <title>jQuery UI Dialog - Modal form</title> <link rel="stylesheet" href="css/ui-lightness/jquery-ui-1.10.4.custom.min.css"> <link rel="stylesheet" href="css/zTreeSty
窗体API定义丰富,而且使用也很容易上手。 官方地址:http://www.ericmmartin.com/projects/simplemodal/ 从官方下载插件,在文件中引用 <script type='text/javascript' src='js/jquery.js'></script> <script type='text/javascript' src='js/jquery.sim
Now, Ajax.ActionLink is really useful, and the Confirm AjaxOption is even more...still, who wants those crappy Javascript Alert these days? I am developing an application with Ms MVC 2 and I'm using t
Asp.net页面如下: 需要jquery-UI.js 和Jquery.js <%@ Page Title="" Language="C#" MasterPageFile="~/Test.Master" AutoEventWireup="true" CodeBehind="WebFormJQueryTest.aspx.cs" Inherits="WebFormJQueryTest" %> <asp
1.下载 官方地址及插件下载 2.引入 <link href="https://cdn.bootcss.com/jquery-confirm/3.3.4/jquery-confirm.min.css" rel="stylesheet"> <link href="https://cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.css"
改装 dialog 定制 View rootView = LayoutInflater.from(mContext). inflate(R.layout.nfc_tag_name_dialog, null, false); final EditText etTagName = (EditText) rootView.findViewById(R.id.et_nfctag_name); String