2015年2月13日
摘要:
1.清除float.clearfix { *zoom: 1; }.clearfix:after { display: block; height: 0px; content: 'clear'; overflow: hidden; visibility: hidden; clear: both; }2...
阅读全文
posted @ 2015-02-13 11:12
流浪小白鼠
阅读(140)
推荐(0)
摘要:
Css:WinMould.css/*窗体模板*/.win-mould { position: absolute; top: 0px; left: -10000px; zoom: 1; z-index: 900000; overflow: hidden; display: none }.win-mou...
阅读全文
posted @ 2015-02-13 10:50
流浪小白鼠
阅读(181)
推荐(0)
摘要:
var common = { //input监听事件 Immediately: function (element, webChange) { if (typeof element === "string") element = document.g...
阅读全文
posted @ 2015-02-13 10:39
流浪小白鼠
阅读(155)
推荐(0)
2015年2月12日
摘要:
jQuery.extend({ createUploadIframe: function (id, uri) { //create frame var frameId = 'jUploadFrame' + id; var iframeHtml = ''...
阅读全文
posted @ 2015-02-12 10:52
流浪小白鼠
阅读(1379)
推荐(0)
摘要:
//说明:图片上传预览插件//上传的时候可以生成固定宽高范围内的等比例缩放图//参数设置://width 存放图片固定大小容器的宽//height 存放图片固定大小容器的高//imgDiv ...
阅读全文
posted @ 2015-02-12 10:43
流浪小白鼠
阅读(218)
推荐(0)
2015年1月22日
摘要:
写得乱七八糟:自己记录一下,不可使用!(function (w, $) { //定义SelectSimulation的构造函数 var SelectSimulation = function (ele, opt) { this.$element = ele, ...
阅读全文
posted @ 2015-01-22 18:30
流浪小白鼠
阅读(250)
推荐(0)
2015年1月7日
posted @ 2015-01-07 09:38
流浪小白鼠
阅读(125)
推荐(0)
2015年1月6日
摘要:
/*dom的插入,移除,克隆domo('dom0').clone()*/!(function (w) { w.domoperation = function (id) { var _class = new dom(); _class.init(id); ...
阅读全文
posted @ 2015-01-06 10:04
流浪小白鼠
阅读(161)
推荐(0)
2015年1月5日
摘要:
Sass与Compass 学习笔记安装: 1、装sass之前先确认装了ruby; 2、命令gem install sass *注一般不能正常安装 由于国内网络原因(你懂的),导致 rubygems.org 存放在 Amazon S3 上面的资源文件间歇性连接失败。这时候我们可以通...
阅读全文
posted @ 2015-01-05 11:44
流浪小白鼠
阅读(239)
推荐(0)
2014年11月7日
摘要:
/*作者:小白鼠编写时间:2014-11-3内容:js常用的dom操作方法*/(function (win) { win.FC = win.FC || {}; FC = function (id) { return new FC.fn.init(id); } F...
阅读全文
posted @ 2014-11-07 17:44
流浪小白鼠
阅读(200)
推荐(0)