function getStyle(obj,attr){ if(obj.currentStyle){ return obj.currentStyle[attr]; } else{ return getComputedStyle(obj,false)[attr]; }};function startM
分类:
编程语言 时间:
2016-03-09 12:56:32
阅读次数:
183
c语言的curl 编程 [Linux@centos-64-min exercise]# gcc -Wall -o curltest curltest.c /tmp/ccosVANi.o: In function `main': curltest.c:(.text+0x2a): undefined r
分类:
编程语言 时间:
2016-03-09 12:50:08
阅读次数:
206
mark下 $("tbody tr",'.test-table').each(function() { $("<td>test</td>").insertBefore("td.last-item",this);//this是当前行,但insertBefore,两个参数并不代表筛选范围。。。。。。 $
分类:
Web程序 时间:
2016-03-09 12:40:30
阅读次数:
179
Date.prototype.Format = function (fmt) { //author: meizz var o = { "M+": this.getMonth() + 1, //月份 "d+": this.getDate(), //日 "h+": this.getHours(), //
分类:
数据库 时间:
2016-03-09 10:59:55
阅读次数:
264
以前写过瀑布流,但对于其中某些概念和一些细节一直没理清,导致写代码时一直心存疑虑。没法用准确的代码来描述。 仅仅停留在我的代码能运行,但出了问题不好查。 昨天花近2小时理清了。 var wuyu=1;...function roll(){ //scrollTop “卷”起来的高度值 var sTop
分类:
其他好文 时间:
2016-03-09 10:54:48
阅读次数:
109
摘录自http://php.net/manual/zh/function.ord.php (PHP 4, PHP 5, PHP 7) ord — 返回字符的 ASCII 码值 说明 int ord ( string $string ) 返回字符串 string 第一个字符的 ASCII 码值。 该函
分类:
Web程序 时间:
2016-03-09 10:54:03
阅读次数:
232
Class-based actorsA class-based actor is a subtype of event_based_actor and must implement the pure virtual member function make_behavior returning th
分类:
编程语言 时间:
2016-03-09 10:53:42
阅读次数:
171
What makes an inferred latch?For combinatorial logic, the output of the circuit is a function of input only and should not contain any memory or inter
分类:
其他好文 时间:
2016-03-09 10:35:15
阅读次数:
194
var myVid1=document.getElementById("audio_1"); $(".div_audio_1 span").text(audioDeal(myVid1.duration.toString().split(".")[0])); function audioDeal(ti
分类:
其他好文 时间:
2016-03-09 09:24:18
阅读次数:
192
<scripttype="text/javascript">
//定义类和方法
functionPerson(){
this.name="人";//定义公有属性
age=12;//定义私有属性
this.eat=function(){
alert("吃法!");
}
sleep=function(){
alert("睡觉!");
}
}
varp1=newPerson();/..
分类:
其他好文 时间:
2016-03-09 07:13:14
阅读次数:
119