摘要:
function JsLoader(){}; JsLoader.loaded = []; JsLoader.prototype = { _path : null,//要加载的JS的路径 _head : null,//文档对象的head头对象 /** * 主要调用方法. */ require : function(jsPath,callback) ... 阅读全文
posted @ 2011-12-27 12:11
Cat.1988
阅读(370)
评论(0)
推荐(0)
摘要:
functionHighLight(){}; HighLight.options = { id : null, className : null, interval : 255, times : 3000 }; HighLight.prototype = { exe :function(options) { var_options = {};... 阅读全文
posted @ 2011-12-27 12:09
Cat.1988
阅读(189)
评论(0)
推荐(0)
摘要:
function Password(){}; Password.check = function(pwd,tipsDivId) { var id = Password.getResult(pwd); var msg = ["密码过短","密码强度差","密码强度良好","密码强度高"]; var sty = [-45,-30,-15,0]; var col = ["#999... 阅读全文
posted @ 2011-12-27 12:08
Cat.1988
阅读(164)
评论(0)
推荐(0)
摘要:
var drag_=false var D=new Function('obj','return document.getElementById(obj);') var oevent=new Function('e','if (!e) e = window.event;return e') function Move_obj(obj){ var x,y; D(obj).onmous... 阅读全文
posted @ 2011-12-27 12:05
Cat.1988
阅读(151)
评论(0)
推荐(0)
摘要:
function creatediv(divcnt){ for(var i=0;i<divcnt;i++)//创建div数量 { var objdiv = document.createElement("DIV");//创建DIV节点 var objname="shop_" + i;//设置name属性 objdiv.id = obj... 阅读全文
posted @ 2011-12-27 12:04
Cat.1988
阅读(290)
评论(0)
推荐(0)