因项目需要在dialog中添加滚动条,所以就在div中加了iframe:1 2 4 View Code在iframe加载的子页面中用如下代码可以实现关闭弹窗:1 parent.$("#applyRefundDialog").dialog("cl...
分类:
其他好文 时间:
2015-08-14 11:23:21
阅读次数:
185
//java实例小项目:列出磁盘目录。
import java.awt.*;
import java.awt.event.*;
import java.io.File;
class MyWindDemo{
//定义一个对话框
private Dialog d;
//定义一个标签
private Label lab;
//定义一个对话框上的按钮
private Butto...
分类:
编程语言 时间:
2015-08-14 01:07:42
阅读次数:
202
UIAlertView in other words, it's a dialog box. You want to show a message or ask user to confirm an action. UIAlertView would come in handy. Here, I create a simple project and show a alert view when ...
分类:
移动开发 时间:
2015-08-13 17:58:45
阅读次数:
172
官方网站:http://uikoo9.com/bootstrapQwhy事实上bootstrap已经非常好了,唯一的软肋就是js方面有些薄弱,对照easyui就知道了。能够非常明显的知道bootstrap是前端人员创建的,而easyui是偏后端人员创建的。what对bootstrap做了一些封装,能...
分类:
其他好文 时间:
2015-08-13 14:21:58
阅读次数:
124
播放器设置 (Player Settings) 播放器设置 (Player Settings) 用于为您要在 Unity 中编译的最终游戏定义各项(特定于平台的)参数。例如,参数中的一些值用于您打开单机版游戏时启动的分辨率对话框 (Resolution Dialog) 中,而在编译 iOS 设...
分类:
其他好文 时间:
2015-08-13 14:05:24
阅读次数:
1751
DatePickerDialog选择日期,调用showDialog(int id)方法,会执行onCreateDialog方法: @Override protected Dialog onCreateDialog(int id) { switch(id){ c...
分类:
其他好文 时间:
2015-08-12 22:59:20
阅读次数:
144
1.定义样式style.XML文件 2.自定义dialog绑定布局public class MyDialog extends Dialog{public MyDialog(Context context, int theme) { super(context, theme);}publi...
分类:
其他好文 时间:
2015-08-12 16:26:10
阅读次数:
138
系统自带的dialog实在是丑到无法忍受。所以找到了一款比较好的第三方dialog。
github 地址如下: https://github.com/pedant/sweet-alert-dialog
老规矩,还是先看效果图!
下面来介绍导入Android studio的方法
首先将github上的项目clone到本地。然后将项目放到你的app根目录下...
分类:
移动开发 时间:
2015-08-11 16:18:03
阅读次数:
214
AlertDialog.Builder builder = new AlertDialog.Builder(DialogActivity.this,AlertDialog.THEME_TRADITIONAL);//传统主题AlertDialog.Builder builder = new Alert...
分类:
移动开发 时间:
2015-08-10 19:43:54
阅读次数:
179
1.自定义Activity显示样式先在res/values下建colors.xml文件,写入:viewplainprint?1.2.3.4.#90005.viewplaincopytoclipboardprint?1.#9000这个值设定了整个界面的透明度,为了看得见效果,现在设为透明度为56%(9...
分类:
移动开发 时间:
2015-08-10 19:37:32
阅读次数:
194