上一页 1 2 3 4 5 6 ··· 14 下一页
摘要: HTML5: localStorage 没有时间限制 sessionStorage 针对session数据存储, 浏览器关闭则失效cookie缺点: cookie不适合大量数据存储 localStorage localStorage savevar ta;var ... 阅读全文
posted @ 2015-02-15 14:40 Mirrorhanman 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 1. createjs.com 下载 EaselJS.zip 2. 简单的数字增加例子 Canvas var canvas;var CANVAS_WIDTH = 500;var CANVAS_HEIGHT = 500;var stage;var txt;var coun... 阅读全文
posted @ 2015-02-15 13:29 Mirrorhanman 阅读(182) 评论(0) 推荐(0) 编辑
摘要: 1. Canvas画布 通常用js来描绘 Canvas var CANVAS_WIDTH = 200;var CANVAS_HEIGHT = 200;var myCanvas;var myContext;window.onload = function () { creat... 阅读全文
posted @ 2015-02-13 16:16 Mirrorhanman 阅读(109) 评论(0) 推荐(0) 编辑
摘要: 拖放 拖放: http://blogs.sitepointstatic.com/examples/tech/filedrag/2/index.html http://www.sitepoint.com/html5-ajax-fil... 阅读全文
posted @ 2015-02-13 15:42 Mirrorhanman 阅读(139) 评论(0) 推荐(0) 编辑
摘要: 1. controls自带效果 2. 自定义 播放 浏览器不支持此音频 3. 编解码工具 FFmpeg.org 进去需要转码文件的文件夹 ffmpeg路径 -i 需要转码文件名及后缀 -acodec libvorbis 想转成的文件... 阅读全文
posted @ 2015-02-13 12:30 Mirrorhanman 阅读(119) 评论(0) 推荐(0) 编辑
摘要: 1. 面向对象 /** * Created by Administrator on 2015/2/13. */var person = { name:"mirror", age:30, eat:function(){ alert("吃货"... 阅读全文
posted @ 2015-02-13 11:16 Mirrorhanman 阅读(104) 评论(0) 推荐(0) 编辑
摘要: 1. 输出 document.write(" ");2. 变量 var3. DOM简介 网页在加载时, 浏览器会创建页面的文档对象模型(Document Object Model) 添加监听器 document.getElementById("xx").addEventListener() 此方... 阅读全文
posted @ 2015-02-11 21:20 Mirrorhanman 阅读(116) 评论(0) 推荐(0) 编辑
摘要: 1. 转换transform: 2D转换 translate() rotate() scale() skew() 倾斜 matrix() 3D转换 rotateX() rotateY()2. 过渡 transition: transition-pro... 阅读全文
posted @ 2015-02-11 17:57 Mirrorhanman 阅读(121) 评论(0) 推荐(0) 编辑
摘要: 1. 对齐 margin水平对齐 position左右对齐 float左右对齐2. 分类属性 cursor 指向某元素时显示的指针类型 display 设置是否和如何显示元素3. 导航栏垂直导航栏水平导航栏 盒子模型 导航菜单1 ... 阅读全文
posted @ 2015-02-11 12:17 Mirrorhanman 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 1. 基本知识 通配符 *{} 常用作margin padding为零2. 多类选择器 this is my web page this is my web page this is my web page 在CSS中 .p1{color: blue;} .p2{font-size: ... 阅读全文
posted @ 2015-02-10 22:58 Mirrorhanman 阅读(107) 评论(0) 推荐(0) 编辑
摘要: 1. CSS定位机制 普通流 浮动 绝对布局2. CSS position 属性 static left right top bottom属性无效 relative absolute fixed 滚动时固定不动3. 覆盖顺序 z-index 值越大越在上面4. 浮动 float =... 阅读全文
posted @ 2015-02-10 22:14 Mirrorhanman 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 1. 盒子模型 2. CSS边框 border-radius 圆角边框 box-shadow 边框阴影3. CSS外边距合并 遵循 选取两个margin较大的 的原则4. 基本应用 盒子模型 ... 阅读全文
posted @ 2015-02-10 21:41 Mirrorhanman 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 1. 基本语法 selector1, selector2{ property1 : value1; property2 : value2; } 如果value大于1个单词(如font-family的值可能是sans serif), 需要加上引号(font-family:"sans ... 阅读全文
posted @ 2015-02-10 16:49 Mirrorhanman 阅读(307) 评论(0) 推荐(0) 编辑
摘要: 1. CSS3背景//index.html haha haha haha haha haha haha haha haha haha haha haha haha haha haha haha haha haha... 阅读全文
posted @ 2015-02-10 12:19 Mirrorhanman 阅读(135) 评论(0) 推荐(0) 编辑
摘要: HTML样式 外部样式表 内部样式表 内联样式表 //StyleTest.html styleTest 外部样式表 内部样式表 内联样式表//myStyle.cssh1{ color: darkorange;} H... 阅读全文
posted @ 2015-02-08 14:11 Mirrorhanman 阅读(180) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 14 下一页