1、在列表项和按钮上禁用文本截断 如果你的列表项或者按钮上是一个很长的文本,它将会被jQuery Mobile自动截断,要禁用这个截断设置,需要在CSS选择器上添加属性"white-space:normal"。例如,在按钮禁止截断: .ui-btn-text{ white-space:normal;...
分类:
Web程序 时间:
2014-08-25 11:44:14
阅读次数:
203
实现的原理:利用了自动布局和形变核心代码块:@implementation JHMainView{ UILabel *label1,*label2,*label3,*label4; UIButton *btn;}- (id)initWithFrame:(CGRect)frame{ self =...
分类:
移动开发 时间:
2014-08-20 13:53:02
阅读次数:
237
首先我们自定义的UIbutton UIButton *btn = [UIButton buttonWithType:UIButtonTypeCustom]; btn.frame = CGRectMake(100, 100, 200, 200); UIbutton有四个状态,4张imag...
分类:
其他好文 时间:
2014-08-16 16:23:30
阅读次数:
219
http://blog.csdn.net/deepwishly/article/details/6670942ajaxPro.dll基础教程(前台调用后台方法,后台调用前台方法)1. javaScript函数中执行C#代码中的函数:方法一:间接触发后台代码 1、首先建立一个服务端控件按钮命名为btn...
分类:
Web程序 时间:
2014-08-14 15:54:08
阅读次数:
713
=================打开百度,点击百度按钮====================Dim btn,ieSet ie = WScript.CreateObject("InternetExplorer.Application")ie.Visible = true '若为false,则...
分类:
Web程序 时间:
2014-08-14 01:15:57
阅读次数:
818
protected void Button1_Click(object sender, EventArgs e) { Button btn = sender as Button; Response.Write(btn.CommandArgument.ToString());//前台传按钮参数过来 ....
分类:
其他好文 时间:
2014-08-12 13:18:14
阅读次数:
219
在前台页面先加入RadioButtonList控件 if (!IsPostBack) { Per(); } } protected void btn_toupiao_Click(objec...
分类:
其他好文 时间:
2014-08-08 17:59:36
阅读次数:
253
UIButton *btn = [UIButton buttonWithType:UIButtonTypeCustom]; btn.frame = CGRectMake(5, self.alertView.lableView.frame.size.height + self.checkBox.fra...
分类:
其他好文 时间:
2014-08-08 11:55:15
阅读次数:
246
$("#login_btn").click(function(){在type为submit的按钮下
if($("#id_password").val().length == 0){//检验密码是否为空
$('form').submit(function(){
alert("1")
return false;
});
}else...
分类:
Web程序 时间:
2014-08-07 23:15:25
阅读次数:
282