I use the Elicpse IDE to develope the ansdroid app.Sometime encounter the messy code in the Elicpse
One solve method is that to fix the Ecicpse's enCoding setting:
click "Windows->Preference...
分类:
其他好文 时间:
2014-06-19 09:57:22
阅读次数:
211
1. Microsoft.SharePoint.dllCreate EventFiring.cs 1.Right-click on the project, select Add and click on New Item. 2.In the templates pane, select Class...
分类:
其他好文 时间:
2014-06-15 23:35:26
阅读次数:
277
根据源码所见,移动端为了将将单击事件更加灵敏,所以现在的JQM,ST...框架都将JS单击事件封装成tap,或者touch或者touchstart事件,其实现本质是将click触发多次,以打成移动端触屏灵敏的效果.所以这里如果使用手机浏览器访问你的st,或者jqm项目,就得使用js修改成click事...
分类:
其他好文 时间:
2014-06-15 21:59:07
阅读次数:
933
需要点击图片将套组发布, 页面代码:Html代码pubed.pngnopub.png"onclick="changeToClose(,$(this));changeToOpen(,$(this));"/> 在套组发布之后, 需要改变下次点击的事件调用的方法。 使用:img.click( functi...
分类:
Web程序 时间:
2014-06-15 20:57:09
阅读次数:
391
之前的两篇文章介绍了AFinal框架下的图片加载与网络通信的部分,这篇文章主要简单介绍FinalActivity的使用。
首先,FinalActivity是基于IOC机制,通过依赖注入的方式完成控件的id绑定与事件绑定,从而实现代码量的精简。下面是FinalActivity的最简单的使用
public class MainActivity extends FinalActivity {
@...
分类:
其他好文 时间:
2014-06-15 16:18:06
阅读次数:
226
$(document).ready(function(){ // 切换样式 $("#saturday > li > a").click(function(){ var thisobj = $(this).html(); $("#saturday").find(...
分类:
Web程序 时间:
2014-06-14 23:52:34
阅读次数:
408
在MVVM模式中,我们将Button的方法写到ViewModel中,然后绑定到前端界面。通常的做法是写一个类,继承ICommand接口,然而如果按钮比较多的话,就需要写很多的类,对于后期维护造成很大的不变,微软提供了一个DelegateCommand类,可以简化开发。使用方法如下:首先生命Vie.....
分类:
其他好文 时间:
2014-06-14 21:03:14
阅读次数:
257
Determine whether an integer is a palindrome. Do this without extra space.click to show spoilers.Some hints:Could negative integers be palindromes? (i...
分类:
其他好文 时间:
2014-06-14 08:52:31
阅读次数:
265
// 通过 getElementsByTagName 获得都有 input 控件
var inputs =document.getElementsByTagName("input");
// 为第0个button绑定onclick事件,alert一下
inputs[0].onclick = function(){
alert("我测试一下");
}...
分类:
Web程序 时间:
2014-06-14 00:48:25
阅读次数:
350
给一个对象绑定多个事件处理函数: 1 2 3 4 5 无标题文档 6 58 59 60 61
62 事件取消: 1 2 3 4 5 无标题文档 6 34 35 36 37 38
分类:
编程语言 时间:
2014-06-13 16:23:28
阅读次数:
318