上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 18 下一页
摘要: What is the Execution Context & Stack in JavaScript?In this post I will take an in-depth look at one of the most fundamental parts of JavaScript, theE... 阅读全文
posted @ 2014-04-29 21:48 未来动力 阅读(229) 评论(0) 推荐(0) 编辑
摘要: 一、工具箱(多种工具共用一个快捷键的可同时按【Shift】加此快捷键选取)矩形、椭圆选框工具 【M】移动工具 【V】套索、多边形套索、磁性套索 【L】魔棒工具 【W】裁剪工具 【C】切片工具、切片选择工具 【K】喷枪工具 【J】画笔工具、铅笔工具 【B】像皮图章、图案图章 【S】历史画笔工具、艺术历... 阅读全文
posted @ 2014-04-27 21:02 未来动力 阅读(362) 评论(0) 推荐(0) 编辑
摘要: 1.关于window.onload 和 body.onload 的区别 当我们将onload 事件写在body元素上时,真正执行的其实是window对象的onload事件。因素HTMl页面中没有window标题,所以就写在body元素上了。Theonloadattribute of thebodyo... 阅读全文
posted @ 2014-04-26 23:52 未来动力 阅读(1428) 评论(0) 推荐(0) 编辑
摘要: 1 2 3 4 html5事件 5 6 9 10 11 baidu12 27 28 通过测试发现,FireFox 和 Safari5+ 均能将页面保存在内存中,IE,Chrome, Oprea 也可... 阅读全文
posted @ 2014-04-26 10:11 未来动力 阅读(1845) 评论(0) 推荐(0) 编辑
摘要: 1.script 1 EventUtil.addHandler(window, "load", function(event){ 2 var script = document.createElement("script"); 3 4 EventUtil.... 阅读全文
posted @ 2014-04-25 08:21 未来动力 阅读(1028) 评论(0) 推荐(0) 编辑
摘要: 递归函数是在一个函数通过名字调用自身的情况下构成的。 1 function factorail(num) 2 { 3 if(num <= 1) 4 { 5 return 1; 6 } 7 else{ 8 return num * ... 阅读全文
posted @ 2014-04-24 22:48 未来动力 阅读(223) 评论(0) 推荐(0) 编辑
摘要: WEB领域中,为实现上下文菜单,开发人员面临的主要问题是如何确定应该显示这个上下文菜单(Windows 中,右键单击;Mac 中,Ctrl+单击),以及如何屏蔽与该操作相关联的默认上下文菜单。 解决方案: contextmenu事件,用以表示何时应该显示上下文菜单,以便取消默认的上下文菜单... 阅读全文
posted @ 2014-04-24 00:11 未来动力 阅读(4331) 评论(0) 推荐(0) 编辑
摘要: left,right,top,bottom仅对于position:relative|absolute|fixed的元素有意义。 1 2 3 4 5 inline-block 6 14 15 16 margin-top:20px;margin-left:20px;17 18 蓝色蓝色蓝... 阅读全文
posted @ 2014-04-23 00:21 未来动力 阅读(857) 评论(0) 推荐(0) 编辑
摘要: 偏移量:offsetHeight = 元素高度 + 上边框高度 + 下边框高度 + 水平滚动条高度(可见时);offsetWidth = 元素宽度 + 左边框宽度 + 右边框宽度 + 垂直滚动条高度(可见时);offsetLeft = 元素的左外边框至左内边框之间的像素距离;offsetTop = ... 阅读全文
posted @ 2014-04-22 08:23 未来动力 阅读(235) 评论(0) 推荐(0) 编辑
摘要: 解决方案1 1 解决方案2 1 2 3 4 New Document 5 6 7 8 9 12 13 14 第一个标题第二个标题第三个标题 //这里的div之间不能留有空格或者换行15 54 55 论坛地址:http://bbs.blue... 阅读全文
posted @ 2014-04-21 13:07 未来动力 阅读(1412) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 18 下一页