摘要:
1 function FloatHelper() { 2 } 3 4 FloatHelper.prototype.showFloater = function (Target, Title, Action, ActionCallback, Callback, IsNeedTemplete... 阅读全文
posted @ 2015-01-29 17:29
momoの前端花园
阅读(166)
评论(0)
推荐(0)
摘要:
1 (function ($) { 2 var mouseScroll = function (e) { 3 try { 4 var origEvent = e.originalEvent; 5 origEvent.preve... 阅读全文
posted @ 2015-01-29 17:24
momoの前端花园
阅读(322)
评论(0)
推荐(0)
摘要:
1 //require ScrollHelper.js 2 function DialogHelper() { 3 var _this = this; 4 var doc = window.document; 5 _this.maskDiv = null; 6 ... 阅读全文
posted @ 2015-01-29 17:23
momoの前端花园
阅读(445)
评论(0)
推荐(0)
摘要:
1 function getImgSrc(target, callback) { 2 if (window.FileReader) { 3 var oPreviewImg = null, oFReader = new window.FileReader(); 4 ... 阅读全文
posted @ 2015-01-29 17:20
momoの前端花园
阅读(239)
评论(0)
推荐(0)
摘要:
1 var selectObj = null; 2 function ImageCrop(canvasId, imageSource, x, y, width, height) { 3 var canvas = $("#" + canvasId); 4 if (canvas... 阅读全文
posted @ 2015-01-29 17:18
momoの前端花园
阅读(410)
评论(0)
推荐(0)
摘要:
验证是否为图片格式1 function IsImgType(src) {2 var rFilter = /^(?:image\/bmp|image\/cis\-cod|image\/gif|image\/ief|image\/jpeg|image\/jpeg|image\/jpeg|imag... 阅读全文
posted @ 2015-01-29 17:13
momoの前端花园
阅读(226)
评论(0)
推荐(0)
摘要:
今天写了一天这个jquery插件:可以实现对div进行拖拽来调整大小的功能。 1 (function ($) { 2 $.fn.dragDivResize = function () { 3 var deltaX, deltaY, _startX, _startY; ... 阅读全文
posted @ 2015-01-29 16:54
momoの前端花园
阅读(1319)
评论(1)
推荐(0)

浙公网安备 33010602011771号