.destination1 .current{ display:block;
animation:danru 2s linear infinite; -webkit-animation:danru 2s linear alternate
; -moz-animatio...
分类:
其他好文 时间:
2014-06-04 20:53:25
阅读次数:
332
try to
use:myTimePicker.setDescendantFocusability(TimePicker.FOCUS_BLOCK_DESCENDANTS);to
disable focus on the text views of the internal NumberPickers...
分类:
移动开发 时间:
2014-06-04 20:02:57
阅读次数:
406
Openerp权限设置最近一直在弄openerp权限问题,现在终于懂了一些。主要对模块下的security
目录下的文件:xxx_security.xml、ir.model.access.csv进行讲解@ xxx_security.xml1、 建立组A
//把admin用户加入该组中@name 组名...
分类:
其他好文 时间:
2014-06-04 19:02:24
阅读次数:
217
1、block引用局部变量的时候,该变量会作为常量编码到block中,在block中不能被修改。2、使用
__block修饰的局部变量,不会作为常量被编码到block中,故而在block中可以被修改。3、在block中引用一个局部的Objective-C对象的时候,该对象会被retain。4、如果不...
分类:
其他好文 时间:
2014-06-04 19:01:45
阅读次数:
224
Given a linked list and a valuex, partition it
such that all nodes less thanxcome before nodes greater than or equal tox.You
should preserve the origi...
分类:
其他好文 时间:
2014-06-03 14:12:24
阅读次数:
306
空标签方式:(每次都要添加空div).clearfix{clear:both;}BFC方式:(局限性:不能有谈层).clearfix{*zoom:1;overflow:hidden;}伪元素方式:.clearfix{*zoom:1;}.clearfix:after{display:block;cle...
分类:
Web程序 时间:
2014-06-03 13:54:02
阅读次数:
305
转自:http://mp.weixin.qq.com/qa/index.php?qa=11634&qa_1=%E6%94%AF%E4%BB%98%E8%BF%94%E5%9B%9E%EF%BC%9Aaccess_control-not_allow&show=16550感谢:乐游旅游比如我的测试js支...
分类:
微信 时间:
2014-05-30 20:25:50
阅读次数:
8782
语句块是什么?其实就是用 {}
包裹的一些js代码而已,当然语句块不能独立作用域。可以详细参见这里《MDN block》也许很多人第一印象 {}
不是对象字面量么?怎么成了语句块了?如果在赋值语句或者表达式里用的时候,确实是对象字面量,如:var a = {};({toString:function...
分类:
Web程序 时间:
2014-05-29 22:10:05
阅读次数:
423
原题地址:https://oj.leetcode.com/problems/palindrome-partitioning/题意:Given
a strings, partitionssuch that every substring of the partition is a
palindrome...
分类:
编程语言 时间:
2014-05-29 18:26:15
阅读次数:
334
class Jago_Deal_IndexController extends
Mage_Core_Controller_Front_Action{ public function ajaxAction() { $block =
$this->getLayout()->cr...
分类:
其他好文 时间:
2014-05-29 15:36:20
阅读次数:
287