摘要: js拖拽效果 javascript实现将元素拖拽如某容器效果demo 阅读全文
posted @ 2012-11-07 17:42 CatherineGao 阅读(1485) 评论(1) 推荐(0) 编辑
摘要: 1,photoswipe 网址: http://www.photoswipe.com/ demo: http://www.photoswipe.com/latest/examples/04-jquery-mobile.html 个人描述:在手机上操作很流畅,能自使用屏幕尺寸,竖... 阅读全文
posted @ 2011-12-15 17:20 CatherineGao 阅读(8828) 评论(2) 推荐(0) 编辑
摘要: 原文:http://www.html-js.com/article/JavaScript-version-100-lines-of-code-to-achieve-a-modern-version-of-Router当前到处可见单页应用,而对于单页应用来说我们必须有一个有效的路由机制。像Emberj... 阅读全文
posted @ 2015-09-07 16:21 CatherineGao 阅读(298) 评论(0) 推荐(0) 编辑
摘要: 原文:http://ju.outofmemory.cn/entry/103253鸟窝 2014-11-28 3020 阅读gulpGulp是一个构建工具, 功能类似grunt, 以及Java生态圈的ant, maven, gradle等。 其它的javascript生态圈的构建工具可以参考: Lis... 阅读全文
posted @ 2015-07-22 18:59 CatherineGao 阅读(1734) 评论(0) 推荐(0) 编辑
摘要: 我的摄影作品 --> #黑科技# 跳出浏览器 张楠 ·7 个月前当移动浪潮来袭,不论是传统 PC 网站/应用,还是新兴的移动互联网,都一并蜂拥的走进用户的手机。提供一个便于手机浏览的 Web 页面,再造一个功能丰富的移动 App 成了每个产品的标配。提供移动 Web 页面,可以使得用户更易获取产... 阅读全文
posted @ 2015-04-01 19:48 CatherineGao 阅读(1142) 评论(0) 推荐(0) 编辑
摘要: AMD与CMD的异同?1、从官方推荐的写法上面得出:CMD ----- 依赖就近Js代码//CMDdefine(function(require,exports,module){vara=require('./a');a.doSomthing();});AMD ----- 依赖前置Js代码//AMD... 阅读全文
posted @ 2015-03-17 14:08 CatherineGao 阅读(241) 评论(0) 推荐(0) 编辑
摘要: 原文:http://markpop.github.io/2014/09/17/Gulp%E5%85%A5%E9%97%A8%E6%95%99%E7%A8%8B/原文:http://www.w3ctech.com/topic/134Building With Gulp=================... 阅读全文
posted @ 2015-03-11 19:09 CatherineGao 阅读(560) 评论(0) 推荐(0) 编辑
摘要: 淘宝:http://www.w3cmark.com/2014/137.html 阅读全文
posted @ 2015-03-11 18:55 CatherineGao 阅读(95) 评论(0) 推荐(0) 编辑
摘要: 原文:http://www.searchtb.com/2011/04/an-introduction-to-bigpipe.html1. 技术背景 FaceBook页面加载技术试想这样一个场景,一个经常访问的网站,每次打开它的页面都要要花费6 秒;同时另外一个网站提供了相似的服务,但响应时间只需3 ... 阅读全文
posted @ 2015-03-11 15:43 CatherineGao 阅读(241) 评论(0) 推荐(0) 编辑
摘要: 原文:http://blog.chinaunix.net/uid-26672038-id-4112229.html原文:https://www.imququ.com/post/amd-simplified-commonjs-wrapping.htmlJavaSript模块化 在了解AMD,CMD规... 阅读全文
posted @ 2015-03-11 13:15 CatherineGao 阅读(585) 评论(0) 推荐(1) 编辑
摘要: WebSocket API简介首先看一段简单的javascript代码,该代码调用了WebSockets的API。var ws = new WebSocket(“ws://echo.websocket.org”); ws.onopen = function(){ws.send(“Test!”); ... 阅读全文
posted @ 2015-02-02 20:21 CatherineGao 阅读(1044) 评论(0) 推荐(0) 编辑
摘要: 一半需要我的图像转换为base64字符串,这样我们可以把我的形象到服务器。现在我们提供一个js:function convertImgToBase64(url, callback, outputFormat){var canvas = document.createElement('CANVAS')... 阅读全文
posted @ 2015-01-09 13:25 CatherineGao 阅读(939) 评论(0) 推荐(0) 编辑