摘要:
;(function (window) { var Sys = {}; var ua = navigator.userAgent.toLowerCase(); var s; (s = ua.match(/msie ([\d.]+)/)) ? Sys.ie = s[1] : ... 阅读全文
摘要:
translateZ(z):表示相对于屏幕的前后位置。值越大元素离屏幕越近,值越小离的远。必须开启3D模式和设置3D透视效果才有作用。transform-styleperspective 阅读全文
摘要:
display: -webkit-box;-webkit-box-orient: horizontal;-webkit-box-pack: center;-webkit-box-align: center;放在需要垂直居中的父层。 阅读全文
摘要:
bowergrunt angularjs livereloadgulpangular tmodjs jadeAngular; Backbone; Console; Dir; Express; Fork; Grunt; Haslayout; Iconfont;Jsonp; Kissy; Local... 阅读全文
摘要:
文本框中只能出现数字 去掉字符串中的空格 function str(str){ return str.replace(/\s/g,""); } 阅读全文
摘要:
图片上传插件一:jQuery File Upload链接地址:http://blueimp.github.io/jQuery-File-Upload/index.html图片放大插件一:Magnifier.js链接地址:http://mark-rolich.github.io/Magnifier.j... 阅读全文
摘要:
var jQuery = function () { return new jQuery.prototype.init();}jQuery.prototype = { init: function () { }, ceshi: function () { ret... 阅读全文
摘要:
javascript实现兼容addEvent方法/*---el:表示DOM对象name:表示事件名fn:表示需要调用的方法---*/1 function addEvent(el,name,fn){ 2 3 if(el.addEventListener) return el.addEventLi... 阅读全文