11 2015 档案

摘要:要想让代码出来得很有逻辑而简约。而这是要从设计开始的。非常符合盒子式的设计模式,一拿到就觉得特别专业和省力。首先来说下作为前端我拿到设计稿先看哪些部分:1.整个网站的底色,观察设计规律,主要找具有统一性的设计 比如按钮button的 宽、高、底色、所用文字、文字大小、文字颜色都是一样的,这样我... 阅读全文
posted @ 2015-11-27 17:19 Cynthia娆墨旧染 阅读(487) 评论(0) 推荐(0) 编辑
摘要:[真实世界的脉络].(英)戴维.多伊奇.pdf宇宙、时间、生命、等等,如果用量子物理学、计算机科学、进化论、认识论将这些最基本而又复杂的问题纠缠在一起时,那将会是一幅什么样的图景呢?也许,我们穷尽一生也无法为这些问题求得真解。我们在这里只是提出一种理论模式、一种思维模式或哲学,甚至逻辑学意义上的思考... 阅读全文
posted @ 2015-11-24 13:33 Cynthia娆墨旧染 阅读(1018) 评论(0) 推荐(0) 编辑
摘要:扩展方法 The current browser does not support Canvas, can replace the browser a try! 阅读全文
posted @ 2015-11-24 12:13 Cynthia娆墨旧染 阅读(421) 评论(0) 推荐(0) 编辑
摘要:Document 当前游览器不支持Canvas,请更换游览器再试! Canvas 绘图之旅 stop white bl... 阅读全文
posted @ 2015-11-24 12:12 Cynthia娆墨旧染 阅读(203) 评论(0) 推荐(0) 编辑
摘要:椭圆 The current browser does not support Canvas, can replace the browser a try! 阅读全文
posted @ 2015-11-24 12:12 Cynthia娆墨旧染 阅读(326) 评论(0) 推荐(0) 编辑
摘要:非零环绕原则 The current browser does not support Canvas, can replace the browser a try! 阅读全文
posted @ 2015-11-23 17:48 Cynthia娆墨旧染 阅读(339) 评论(0) 推荐(0) 编辑
摘要:Document The current browser does not support Canvas, can replace the browser a try! 阅读全文
posted @ 2015-11-23 17:48 Cynthia娆墨旧染 阅读(378) 评论(0) 推荐(0) 编辑
摘要:Document The current browser does not support Canvas, can replace the browser a try! 阅读全文
posted @ 2015-11-23 17:48 Cynthia娆墨旧染 阅读(281) 评论(1) 推荐(0) 编辑
摘要:非零环绕原则 The current browser does not support Canvas, can replace the browser a try! 阅读全文
posted @ 2015-11-23 17:47 Cynthia娆墨旧染 阅读(232) 评论(0) 推荐(0) 编辑
摘要:Document 阅读全文
posted @ 2015-11-23 17:46 Cynthia娆墨旧染 阅读(464) 评论(0) 推荐(0) 编辑
摘要:Document The current browser does not support Canvas, can replace the browser a try! 阅读全文
posted @ 2015-11-23 15:10 Cynthia娆墨旧染 阅读(229) 评论(0) 推荐(0) 编辑
摘要:Document The current browser does not support Canvas, can replace the browser a try! 阅读全文
posted @ 2015-11-23 15:10 Cynthia娆墨旧染 阅读(176) 评论(0) 推荐(0) 编辑
摘要:Document The current browser does not support Canvas, can replace the browser a try! 阅读全文
posted @ 2015-11-23 15:09 Cynthia娆墨旧染 阅读(290) 评论(0) 推荐(0) 编辑
摘要:Document The current browser does not support Canvas, can replace the browser a try! 阅读全文
posted @ 2015-11-23 15:09 Cynthia娆墨旧染 阅读(180) 评论(0) 推荐(0) 编辑
摘要:Document The current browser does not support Canvas, can replace the browser a try! source-over source-atop ... 阅读全文
posted @ 2015-11-23 15:08 Cynthia娆墨旧染 阅读(208) 评论(0) 推荐(0) 编辑
摘要:Document The current browser does not support Canvas, can replace the browser a try! 阅读全文
posted @ 2015-11-23 15:07 Cynthia娆墨旧染 阅读(230) 评论(0) 推荐(0) 编辑
摘要:Document The current browser does not support Canvas, can replace the browser a try! 阅读全文
posted @ 2015-11-23 15:07 Cynthia娆墨旧染 阅读(457) 评论(0) 推荐(0) 编辑
摘要:Document The current browser does not support Canvas, can replace the browser a try! 阅读全文
posted @ 2015-11-23 15:06 Cynthia娆墨旧染 阅读(187) 评论(0) 推荐(0) 编辑
摘要:Document The current browser does not support Canvas, can replace the browser a try! 阅读全文
posted @ 2015-11-20 17:53 Cynthia娆墨旧染 阅读(224) 评论(0) 推荐(0) 编辑
摘要:fillStyle color gradient pattern image canvas videostrokeStyle 阅读全文
posted @ 2015-11-20 17:52 Cynthia娆墨旧染 阅读(129) 评论(0) 推荐(0) 编辑
摘要:Document The current browser does not support Canvas, can replace the browser a try! 阅读全文
posted @ 2015-11-20 17:52 Cynthia娆墨旧染 阅读(195) 评论(0) 推荐(0) 编辑
摘要:Document The current browser does not support Canvas, can replace the browser a try! 阅读全文
posted @ 2015-11-20 17:51 Cynthia娆墨旧染 阅读(385) 评论(0) 推荐(0) 编辑
摘要:Document The current browser does not support Canvas, can replace the browser a try! 阅读全文
posted @ 2015-11-20 17:51 Cynthia娆墨旧染 阅读(234) 评论(0) 推荐(0) 编辑
摘要:Document The current browser does not support Canvas, can replace the browser a try! 阅读全文
posted @ 2015-11-20 17:50 Cynthia娆墨旧染 阅读(403) 评论(0) 推荐(0) 编辑
摘要:添加土地 The current browser does not support Canvas, can replace the browser a try! 阅读全文
posted @ 2015-11-20 17:49 Cynthia娆墨旧染 阅读(481) 评论(0) 推荐(0) 编辑
摘要:Document The current browser does not support Canvas, can replace the browser a try! 阅读全文
posted @ 2015-11-20 17:49 Cynthia娆墨旧染 阅读(211) 评论(0) 推荐(0) 编辑
摘要:Document The current browser does not support Canvas, can replace the browser a try! 阅读全文
posted @ 2015-11-20 17:47 Cynthia娆墨旧染 阅读(432) 评论(0) 推荐(0) 编辑
摘要:添加月亮 The current browser does not support Canvas, can replace the browser a try! 阅读全文
posted @ 2015-11-20 17:47 Cynthia娆墨旧染 阅读(228) 评论(0) 推荐(0) 编辑
摘要:createPattern 自己绘制背景图案 The current browser does not support Canvas, can replace the browser a try! 阅读全文
posted @ 2015-11-20 17:46 Cynthia娆墨旧染 阅读(159) 评论(0) 推荐(0) 编辑
摘要:Document The current browser does not support Canvas, can replace the browser a try! 阅读全文
posted @ 2015-11-20 17:45 Cynthia娆墨旧染 阅读(219) 评论(0) 推荐(0) 编辑
摘要:添加天空渐变 The current browser does not support Canvas, can replace the browser a try! 阅读全文
posted @ 2015-11-20 17:44 Cynthia娆墨旧染 阅读(341) 评论(0) 推荐(0) 编辑
摘要:Document The current browser does not support Canvas, can replace the browser a try! 阅读全文
posted @ 2015-11-19 17:31 Cynthia娆墨旧染 阅读(171) 评论(0) 推荐(0) 编辑
摘要:Document The current browser does not support Canvas, can replace the browser a try! 阅读全文
posted @ 2015-11-19 17:30 Cynthia娆墨旧染 阅读(200) 评论(0) 推荐(0) 编辑
摘要:Document The current browser does not support Canvas, can replace the browser a try! 阅读全文
posted @ 2015-11-19 17:30 Cynthia娆墨旧染 阅读(188) 评论(0) 推荐(0) 编辑
摘要:Document The current browser does not support Canvas, can replace the browser a try! 阅读全文
posted @ 2015-11-19 17:29 Cynthia娆墨旧染 阅读(453) 评论(0) 推荐(0) 编辑
摘要:#ffff#642 = #664422rgb(255,128,0)rgba(100,100,100,0.8)hsl(20,62%,28%)hsla(40,82%,33%,0.6)red 阅读全文
posted @ 2015-11-19 17:29 Cynthia娆墨旧染 阅读(584) 评论(0) 推荐(0) 编辑
摘要:Document The current browser does not support Canvas, can replace the browser a try! 阅读全文
posted @ 2015-11-19 17:28 Cynthia娆墨旧染 阅读(230) 评论(0) 推荐(0) 编辑
摘要:Document The current browser does not support Canvas, can replace the browser a try! 阅读全文
posted @ 2015-11-19 17:28 Cynthia娆墨旧染 阅读(287) 评论(0) 推荐(0) 编辑
摘要:Document The current browser does not support Canvas, can replace the browser a try! 阅读全文
posted @ 2015-11-19 17:27 Cynthia娆墨旧染 阅读(155) 评论(0) 推荐(0) 编辑
摘要:Document The current browser does not support Canvas, can replace the browser a try! 阅读全文
posted @ 2015-11-19 17:27 Cynthia娆墨旧染 阅读(223) 评论(0) 推荐(0) 编辑
摘要:Document The current browser does not support Canvas, can replace the browser a try! 阅读全文
posted @ 2015-11-19 17:26 Cynthia娆墨旧染 阅读(212) 评论(0) 推荐(0) 编辑
摘要:Document The current browser does not support Canvas, can replace the browser a try! 阅读全文
posted @ 2015-11-19 17:26 Cynthia娆墨旧染 阅读(216) 评论(0) 推荐(0) 编辑
摘要:Document 阅读全文
posted @ 2015-11-19 17:25 Cynthia娆墨旧染 阅读(188) 评论(0) 推荐(0) 编辑
摘要:Document 阅读全文
posted @ 2015-11-19 17:25 Cynthia娆墨旧染 阅读(357) 评论(0) 推荐(0) 编辑
摘要:Document 阅读全文
posted @ 2015-11-19 17:24 Cynthia娆墨旧染 阅读(541) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2015-11-16 18:07 Cynthia娆墨旧染 阅读(123) 评论(0) 推荐(0) 编辑
摘要:// 1.JavaScript 中的类型包括 Number(数字) String(字符串) Boolean(布尔) Symbol(符号)(第六版新增) Object(对象) Function(函数) Array(数组) Date... 阅读全文
posted @ 2015-11-12 16:04 Cynthia娆墨旧染 阅读(216) 评论(0) 推荐(0) 编辑
摘要:// 1.基于原型链的继承// 继承属性 // 当访问一个对象的属性时发生的行为: // 假定有一个对象 o, 其自身的属性(own properties)有 a 和 b: {a: 1, b: 2} // o.[[Prototype]]有属性 b 和 c: {b... 阅读全文
posted @ 2015-11-12 16:04 Cynthia娆墨旧染 阅读(183) 评论(0) 推荐(0) 编辑
摘要:// 1.变量(Variables) var myVariable; myVariable = 'Bob'; // 数据类型 string number boolean array object// 2.注释 /* Everything ... 阅读全文
posted @ 2015-11-12 16:03 Cynthia娆墨旧染 阅读(200) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2015-11-10 17:36 Cynthia娆墨旧染 阅读(158) 评论(0) 推荐(0) 编辑
摘要:var request = new XMLHttpRequest()if(window.XMLHttpRequest){ request = new XMLHttpRequest()}else{ request = new ActiveXObject("Microsoft.XMLHTTP... 阅读全文
posted @ 2015-11-10 17:36 Cynthia娆墨旧染 阅读(126) 评论(0) 推荐(0) 编辑
摘要:index 阅读全文
posted @ 2015-11-10 17:35 Cynthia娆墨旧染 阅读(156) 评论(0) 推荐(0) 编辑
摘要:var cyn = function(){ console.log("我是延时输出的函数")}setInterval(cyn,1000) 阅读全文
posted @ 2015-11-10 17:34 Cynthia娆墨旧染 阅读(155) 评论(0) 推荐(0) 编辑
摘要:var cyn = function(){ console.log("我是延时输出的函数")}setTimeout(cyn,5000) 阅读全文
posted @ 2015-11-10 17:34 Cynthia娆墨旧染 阅读(108) 评论(0) 推荐(0) 编辑
摘要:var scareMe = function(){ console.log("cynthia") scareMe = function(){ console.log("wuqian") }}scareMe() //cynthiascareMe() //wuqian//... 阅读全文
posted @ 2015-11-10 17:34 Cynthia娆墨旧染 阅读(118) 评论(0) 推荐(0) 编辑
摘要://手机号验证var regMobile=/^1[3,5,8]\d{9}$/; //固定电话var regPhone=/^(^0\d{2}-?\d{8}$)|(^0\d{3}-?\d{7}$)|(^\(0\d{2}\)-?\d{8}$)|(^\(0\d{3}\)-?\d{7}$)$/; /* * 用... 阅读全文
posted @ 2015-11-10 17:33 Cynthia娆墨旧染 阅读(196) 评论(0) 推荐(0) 编辑
摘要:var cyn = function(){ console.log("one") return function(){ console.log("two") }}var test = cyn() //不能直接执行cyn()test() 阅读全文
posted @ 2015-11-10 17:33 Cynthia娆墨旧染 阅读(123) 评论(0) 推荐(0) 编辑
摘要:// 原型式继承// 其基本思路是借助原型可以基于已有的对象创建新的对象function object(o){ function F(){} F.prototype = o; return new F();}var person = { name: "Tom", friends: ["Jack... 阅读全文
posted @ 2015-11-10 17:32 Cynthia娆墨旧染 阅读(149) 评论(0) 推荐(0) 编辑
摘要:// 原型链// 其基本思路是利用原型让一个引用类型继承另一个引用类型的属性和方法function Person(){ this.name = "Person";}Person.prototype.getName = function(){ return this.name;}funct... 阅读全文
posted @ 2015-11-10 17:32 Cynthia娆墨旧染 阅读(201) 评论(0) 推荐(0) 编辑
摘要:// 1.任意参数的加法运算 function add(){ var sum = 0 for(var i=0;i<arguments.length;i++){ if(!isNaN(arguments[i])){ ... 阅读全文
posted @ 2015-11-10 17:32 Cynthia娆墨旧染 阅读(215) 评论(0) 推荐(0) 编辑
摘要:// 借用构造函数// 其基本思路是在子类型构造函数的内部调用父类型的构造函数function Person(name){ this.name = name; this.friends = ["Jack","John","Kim"];}function SuperPerson(name,sex)... 阅读全文
posted @ 2015-11-10 17:31 Cynthia娆墨旧染 阅读(156) 评论(0) 推荐(0) 编辑
摘要:// 寄生式继承// 其基本思路是类似创建对象时的工厂模式,将继承过程封装在一个函数里,然后返回一个对象function createObject(o){ var clone = Object.create(o); clone.sayHi = function(){ console.log(... 阅读全文
posted @ 2015-11-10 17:31 Cynthia娆墨旧染 阅读(127) 评论(0) 推荐(0) 编辑
摘要:// 组合继承// 其基本思路是使用原型链实现对原型属性和方法的继承,而通过借用构造函数来实现对实例属性的继承function Person(name){ this.name = name; this.friends = ["Jack","John","Kim"];}Person.prototy... 阅读全文
posted @ 2015-11-10 17:30 Cynthia娆墨旧染 阅读(212) 评论(0) 推荐(0) 编辑
摘要:// 寄生组合式继承// 其基本思路是通过借用构造函数来继承属性,通过原型链的混成形式来继承方法,就是为了不必为了子类型的原型去调用父类型的构造函数function inheritPrototype(superPerson,person){ var prototype=Object.create(... 阅读全文
posted @ 2015-11-10 17:30 Cynthia娆墨旧染 阅读(127) 评论(0) 推荐(0) 编辑
摘要:( ) ( ( ) ) ( ( ( ) ) )########################## ############... 阅读全文
posted @ 2015-11-10 17:29 Cynthia娆墨旧染 阅读(223) 评论(0) 推荐(0) 编辑
摘要:// 可视宽高var ch = document.documentElement.clientHeightvar cw = document.documentElement.clientWidth// 内容高度var sh = document.documentElement.scrollHeigh... 阅读全文
posted @ 2015-11-10 17:29 Cynthia娆墨旧染 阅读(217) 评论(0) 推荐(0) 编辑
摘要:(function(){ var days = ['Sun','Mon','Tue','Wed','Thu','Fri','Sat'] var today = new Date() var msg = "Today is" + days[today.getDay()] + ',' ... 阅读全文
posted @ 2015-11-10 17:29 Cynthia娆墨旧染 阅读(169) 评论(0) 推荐(0) 编辑
摘要:function writeCode(callback){ console.log("i am waiting....") callback(); console.log("i am ready")}function prepare(){ console.log("i am preparing...... 阅读全文
posted @ 2015-11-10 17:28 Cynthia娆墨旧染 阅读(144) 评论(0) 推荐(0) 编辑
摘要:// “最后加” concat 连接两个或更多的数组,并返回结果。 var a = ['a','b','c']; var b = ['x','y','z']; var c = a.concat(b,true); // alert(c) //c变成 a,b,c,x,y,z//... 阅读全文
posted @ 2015-11-10 17:27 Cynthia娆墨旧染 阅读(228) 评论(0) 推荐(0) 编辑
摘要:// 异步加载js(function(){ var _asyn_js_data = ['index.js','index1.js','index2.js','index3.js'] for(var i=0;i<_asyn_js_data.length;i++){ var s... 阅读全文
posted @ 2015-11-10 17:27 Cynthia娆墨旧染 阅读(218) 评论(0) 推荐(0) 编辑
摘要: 举个例子 : 点击ul下面每个li的时候 背景成绿色   阅读全文
posted @ 2015-11-10 17:26 Cynthia娆墨旧染 阅读(175) 评论(0) 推荐(0) 编辑
摘要:<meta name="wap-font-scale" content="no"> 阅读全文
posted @ 2015-11-10 17:25 Cynthia娆墨旧染 阅读(235) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示