码迷,mamicode.com
首页 >  
搜索关键字:radir button    ( 10365个结果
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
jquery data方法获取某个元素上事件
获取某个元素上的事件,jquery的给元素绑定的事件可以用data方法取出来.通过$(element).data("events")来获取// 比如给一个button绑定两个click事件$("button").click(function() { alert("1") });$("button")...
分类:Web程序   时间:2014-06-24 11:26:51    阅读次数:276
自定义UITabBarController
最近发现一款和糗百差不多的应用叫,它的底部标签栏的效果不错,于是动手写了下,下面给出具体代码示例. #pragma mark - 自定义UITabBar - (void)createCustomTabBarView{ _backGroundImageView = [[UIImageView alloc] initWithFrame:CGRectMake(0, ScreenHei...
分类:其他好文   时间:2014-06-22 21:18:19    阅读次数:134
Android Fragment实现按钮间的切换
Fragment要点 Fragment作为Activity界面的一部分组成出现 可以在一个Activity中同时出现多个Fragment,并且,一个Fragment亦可在多个Activity中使用。 在Activity运行过程中,可以添加、移除或者替换Fragment(add()、remove()、replace()) Fragment可以响应自己的输入事件,并且有自己的生命周期,当然,它们的生命周期直接被其所属的宿主activity的生命周期影响。 而本文简单介绍主要通过点击不同按钮实现切换对应的frag...
分类:移动开发   时间:2014-06-22 20:33:24    阅读次数:296
ORACLE DATABASE 10g EXPRESS EDITION LICENSE AGREEMENT
?? 启动Tomcat之后出现全是英文错误: ORACLE DATABASE 10g EXPRESS EDITION LICENSE AGREEMENT To use this license, you must agree to all of the following terms (by either clicking the accept button or installing an...
分类:数据库   时间:2014-06-22 15:48:26    阅读次数:608
解决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
jquery之获取某个元素上的事件
jquery的给元素绑定的事件可以用data方法取出来 通过$(element).data("events")来获取 // 比如给一个button绑定两个click事件 $("button").click(function() { alert("1") }); $("button").click(function() { alert("2") }); // 这个时候点...
分类:Web程序   时间:2014-06-22 00:28:22    阅读次数:226
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
迷上了代码!