可封装的js代码if (typeof YwkMobile == "undefined")
var YwkMobile = {};YwkMobile.touchStyle = function(e, t)
{ $(e).bind("touchstart", function() { $(this).....
分类:
其他好文 时间:
2014-06-12 20:33:45
阅读次数:
289
1 var t; 2 function showportal() { 3 if
($("#图片ID").is(":hidden")) 4 $("#图片ID").show(); 5 else 6 ...
分类:
Web程序 时间:
2014-06-12 18:59:32
阅读次数:
264
processhacker-code-5632\1.x\trunk\NProcessHacker\hook.htypedef
struct _PH_HOOK{ PVOID Function; PVOID Target; BOOLEAN Hooked; CHAR Bytes[5...
分类:
其他好文 时间:
2014-06-12 18:11:47
阅读次数:
216
闭包 既保证了 内部函数的私有性 又可以向外公开通过一个已有对象 向它注入属性 1 /** 2
* 闭包 3 * 在函数中定义的函数,在外部使用 4 * 1、在函数内部定义的函数,在外部不能访问 5 */ 6 function a(){ 7 /** 8 *
b函数是...
分类:
Web程序 时间:
2014-06-12 17:23:55
阅读次数:
224
function InsertSort($arr){ $num = count($arr);
for($i = 1; $i = 0; $j--){ if($arr[$j] > $key){ $arr[$j + 1...
分类:
Web程序 时间:
2014-06-12 16:51:05
阅读次数:
270
function Event(sender) { this._sender = sender;
this._listeners = [];}Event.prototype = { attach : function (listener) {
this._listene...
分类:
Web程序 时间:
2014-06-12 16:38:51
阅读次数:
272