码迷,mamicode.com
首页 >  
搜索关键字:radio button    ( 11945个结果
button倒计时
- (void)yourButtonTitleTime{ __block int timeout=30; //倒计时时间 dispatch_queue_t queue = dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0);.....
分类:其他好文   时间:2014-06-26 00:43:27    阅读次数:305
Class hierarchy of UIResponder as well as subclasses of UIView and UIControl
When you were dragging in your label and your button to this view, you were adding them as subviews.By doing this programmatically you can see what go...
分类:其他好文   时间:2014-06-25 20:56:07    阅读次数:521
chckbox 实现单选效果(html)
note:在html 标签类中的checkbox实现单选效果。在最近的开发项目中,客户要求使用小方格子实现“单选”功能,显然圆点的radio被out了,只能选择chckbox的方块样式,也在网上搜过,可能有点儿脑残,没有找到。废话不多说直接上代码: checkbox实现单选效...
分类:Web程序   时间:2014-06-25 19:14:51    阅读次数:258
Silverlight独立存储
写 1 private void Button_Click_1(object sender, RoutedEventArgs e) 2 { 3 IsolatedStorageFile isf = IsolatedStorageFile.GetUserSto...
分类:Web程序   时间:2014-06-24 23:37:43    阅读次数:224
仿360在Launcher画面显示内存使用率的浮窗(基础版)
MainActivity如下: package cc.cc; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import android.app.Activity; import andro...
分类:其他好文   时间:2014-06-24 19:26:31    阅读次数:169
Android Intent传递对象小结
效果:想看实例的,感兴趣的能够看之前的一篇文章Android ViewPager Fragment实现选项卡部分关键代码:public class SerializeActivity extends Activity implements Serializable { Button btnlist,...
分类:移动开发   时间:2014-06-24 14:50:59    阅读次数:261
jquery data方法获取某个元素上事件
获取某个元素上的事件,jquery的给元素绑定的事件可以用data方法取出来.通过$(element).data("events")来获取// 比如给一个button绑定两个click事件$("button").click(function() { alert("1") });$("button")...
分类:Web程序   时间:2014-06-24 11:26:51    阅读次数:276
解决Firefox下input button内文字垂直居中
很老的问题了,如今再次碰到,记录下来,给后来者方便!众所周知,在Firefox下input type=”button”的文字是不好居中的,原因在于Firefox自己比较二,弄了个私有属性,导致以下问题的出现:按钮左右本身有2px的间距(FF私有属性写了padding:0 2px所致);按钮文字居中是...
分类:其他好文   时间:2014-06-22 13:26:42    阅读次数:201
当inline-block和text-indent遇到IE6,IE7
在实际应用中,考虑到seo,很多button,icon都要用到inline-block和text-indent来处理,例如:Buttoncss我习惯写成这样.btn{display:inline-block; width:100px; height:23px; text-indent:-9999px...
分类:其他好文   时间:2014-06-22 12:56:49    阅读次数:204
android基础之点击监听器的2种监听实现
点击监听器接口:onClickListener抽象函数onClick(Viewv)有2个方法实现监听:1:当前类继承点击监听器接口packagecom.example.button;importandroid.app.Activity;importandroid.os.Bundle;importandroid.view.Menu;importandroid.view.View;importandroid.view.View.OnClickLi..
分类:移动开发   时间:2014-06-21 19:24:32    阅读次数:267
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!