.divbackimg{ width:150px; height:50px; background-image:url(./btn.png); -moz-background-size: 100% 100%; -o-background-size: ...
分类:
Web程序 时间:
2015-01-09 10:43:28
阅读次数:
149
正常状态的效果:按钮按下的效果图片:一、在java中为图片按钮增加触摸监听的函数来实现图片切换,代码如下: ImageButton btn = (ImageButton)findViewById(R.id.imageButton1); btn.setOnT...
分类:
移动开发 时间:
2015-01-08 19:32:25
阅读次数:
221
Page_Init 页面的初始化Page_Load 页面加载母版页页面加载btn_load 按钮加载btn_click 点击按钮回发Page_PreRender 页面预呈现母版页 Page_PreRenderbtn_PreRender 按钮预呈现母版页内嵌代码段子页内嵌代码段
分类:
其他好文 时间:
2015-01-08 17:44:14
阅读次数:
158
publicclassMainActivityextendsActivity{
privateButtonbtn_click;
privateNotificationManagermanager;
@Override
protectedvoidonCreate(BundlesavedInstanceState){
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
btn_click=(But..
分类:
其他好文 时间:
2015-01-07 11:14:32
阅读次数:
114
1、问题: 表单按钮用input type=submit和a链接两者表现不一致的问题。input{ border:none; }.btn{ ...; display:inline-block; }.btn{line-height: 35px; padding: 0px 30px; } ①解决方案:....
分类:
Web程序 时间:
2015-01-06 11:53:04
阅读次数:
174
jQuery控件所需图片btn_corner.jpgbtn_corner_hover.jpgok.pngreload.pngundo.pngjQuery控件样式.btn_container{ height:25px; font-size:12px; font-family:Arial; color:...
分类:
Web程序 时间:
2015-01-06 11:20:08
阅读次数:
176
建立MainActivity继承Activity类,重写OnCreate()方法,添加按钮监听btn_dail.setOnClickListener(new OnClickListener(){@Override public void onClick(View arg0) { // TO...
分类:
移动开发 时间:
2015-01-03 09:18:16
阅读次数:
187
#import "ViewController.h"@interface ViewController ()@property (nonatomic, strong) UIButton *btn;@end@implementation ViewController@synthesize btn;- ...
分类:
移动开发 时间:
2015-01-02 22:21:27
阅读次数:
293
1.Dialog\widget\ mainwindow的区别注意mainwindow和widget的区别,mainwindow都工具栏和菜单栏Dialog and mainwinodws 都是继承与 Widget。布局管理器 & 分裂器的区别左边为布局管理器,右边为分裂器布局管理器中的btn的上下宽...
分类:
Windows程序 时间:
2015-01-02 15:48:42
阅读次数:
3720
GTK_CALLBACK void on_toolbutton_about_clicked(GtkWidget *btn, gpointer user_data){ GtkWidget *about_dialog; GdkPixbuf *logo; GError *error=NU...
分类:
其他好文 时间:
2015-01-02 10:59:02
阅读次数:
233