CSS3实现动画: 1 Transitions:定义元素的某个属性从一个属性值平滑过渡到另一个属性值。 Transitions属性的使用方法如下所示: transition: property | duration | timing-function | delay transition-prope ...
分类:
其他好文 时间:
2016-08-30 17:40:47
阅读次数:
187
<script type="text/javascript"> $(document).ready(function(){ $('.ct:gt(0)').hide(); gt() //匹配所有大于给定索引值的元素 var hdw = $('.box ul li'); //li集合 hdw.hover ...
分类:
Web程序 时间:
2016-08-30 17:38:10
阅读次数:
160
fucntion Person(name,sex){ //父类 this.name=name; this.sex=sex; } Person.prototype.showName=function(){ alert(this.name); } function Star(){} //子类 现在有一个 ...
分类:
其他好文 时间:
2016-08-30 17:27:58
阅读次数:
138
##题目描述 Function composition is a mathematical operation that mainly presents itself in lambda calculus and computability. It is explained well here, b ...
分类:
其他好文 时间:
2016-08-30 13:33:18
阅读次数:
105
inputs.bind({ keyup:function(){$(this).val($(this).val().replace(/\D/g,''));}, focus:function(){if($(this).val() == this.defaultValue) $(this).val("") ...
分类:
其他好文 时间:
2016-08-30 12:14:14
阅读次数:
124
b2DebugDraw提供调试功能,由于Box2D中所有对象都是不可见的,要创建可见对象我们得用刚体定义中的userData属性来创建自己的图形,如果不创建自己的图形,则用b2DebugDraw类来实现物体的可见,方便调试。 具体代码: private function showDebug():vo ...
分类:
其他好文 时间:
2016-08-30 10:39:05
阅读次数:
197
Object.keys() 取得对象中所有可枚举的属性function Person(){}Person.prototype.name="summer";Person.prototype.age=20;Person.prototype.job="enginner";Person.prototype. ...
分类:
其他好文 时间:
2016-08-30 10:38:42
阅读次数:
175
var province = '' ;var city = '' ;jQuery.getScript("http://int.dpool.sina.com.cn/iplookup/iplookup.php?format=js",function(){ province = remote_ip_inf ...
分类:
Web程序 时间:
2016-08-30 09:34:04
阅读次数:
217
class test{ //curl上传 function testPost(){ $url = "http://liling.gov.gsp365.cn/Api/Upload/postFile"; $file = 'D:\phpStudy\WWW\testcurl\json.zip'; $data ...
分类:
Web程序 时间:
2016-08-30 09:25:43
阅读次数:
210
## 题目描述: Your task is to write a higher order function for chaining together a list of unary functions. In other words, it should return a function th ...
分类:
其他好文 时间:
2016-08-30 01:43:34
阅读次数:
234