码迷,mamicode.com
首页 >  
搜索关键字:focus    ( 1931个结果
View Focus的处理过程及ViewGroup的mFocused字段分析
通过上篇的介绍,我们知道在对KeyEvent的处理中有非常重要的一环,那就是KeyEvent在focus view的path上自上而下的分发,换句话说只有focus的view才有资格参与KeyEvent的处理,所以说focused view在KeyEvent的处理中很重要,我们需要弄清楚明白fo.....
分类:其他好文   时间:2014-07-07 19:39:45    阅读次数:383
鼠标用户和键盘用户
a:focus{outline:none;}设置类似这样的属性后,超级链接点击后的虚线框会没掉,对于键盘用户来说就得不到焦点框。刚巧改这个的时候留神到了 在JavaScript中,IE7如果出现JSON以逗号结尾会报错,如var json = { one : 1, two : 2, // ...
分类:其他好文   时间:2014-06-27 21:46:26    阅读次数:212
jquery api 常见 事件操作
change.html 1 2 3 4 ready.html 5 6 7 8 9 14 15 26 27 focus.html 1 2 3 4 focus.html 5 6 7...
分类:Windows程序   时间:2014-06-27 14:27:53    阅读次数:392
Python抓取页面乱码问题的解决
import urllib2response=urllib2.urlopen('http://house.focus.cn/')html=response.read()print html.decode('gbk')
分类:编程语言   时间:2014-06-27 00:50:29    阅读次数:333
HTML设置焦点
<body <formaction=""method="post" name="form1"> <inputtype="text"id="id"/> </form> </body> <script>functionmyfocus(){ document.getElementById(‘id‘).focus();}</script>
分类:Web程序   时间:2014-06-25 10:11:17    阅读次数:181
javascript 基础学习整理 二 之 html对象总结,参考W3C
Anchor 对象更改一个链接的文本、URL 以及 target使用 focus() 和 blur()向超链接添加快捷键Document 对象使用 document.write() 向输出流写文本使用 document.write() 向输出流写 HTML返回当前文档的标题返回当前文档的 URL返回...
分类:编程语言   时间:2014-06-24 14:41:22    阅读次数:388
JavaScript高级程序设计53.pdf
共有的表单字段方法每个表单字段都有两个方法:focus()和blur(),其中focus()用于将浏览器焦点设置到表单字段,激活表单字段。可以侦听页面的load事件EventUtil.addHandler(window,"load",function(event){ document.fo...
分类:编程语言   时间:2014-06-17 22:45:07    阅读次数:391
联系电话正则表达式
$(function () { $("#txtPhone").focus(function () { $(this).next().show().removeClass("onError").removeClass("onright").addClass("ontan").ht...
分类:其他好文   时间:2014-06-15 22:44:27    阅读次数:346
Android中自定义ListView无法响应OnItemClickListener中的onItemClick方法问题解决方案
如果你的自定义ListViewItem中有Button或者Checkable的子类控件的话,那么默认focus是交给了子控件,而ListView 的Item能被选中的基础是它能获取Focus,也就是说我们可以通过将ListView中Item中包含的所有控件的focusable属性设置为 false....
分类:移动开发   时间:2014-06-09 19:06:05    阅读次数:259
5 Ways to Use Log Data to Analyze System Performance--reference
Recently we looked across some of the most common behaviors that our community of 25,000 users looked for in their logs with a particular focus on web...
分类:其他好文   时间:2014-06-08 22:19:29    阅读次数:438
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!