摘要: config.xml 具体内容 1.获取应用程序当前目录 system.io.directory.getcurrentDirectory()+"\\config.xml" 阅读全文
posted @ 2019-10-25 14:26 8832A45C866CDB7D 阅读(97) 评论(0) 推荐(0) 编辑
摘要: Dom1. 创建Dom 元素 插入 删除createElement insertBefore removeChild2.文档碎片运动1.运动基础 速度物体运动的快慢2.匀速运动 阅读全文
posted @ 2015-07-29 09:33 8832A45C866CDB7D 阅读(136) 评论(0) 推荐(0) 编辑
摘要: 1 insertBefore 和 appendChild应用有2个span 元素 一个div id="box" 里面装载 ul li 元素 假设li是个正方形var spano=document.getElentsbyTagName("span"),desk=document.getElementB... 阅读全文
posted @ 2015-07-01 17:35 8832A45C866CDB7D 阅读(171) 评论(0) 推荐(0) 编辑
摘要: javascript 的简单类型包括 数字、字符串、布尔值、null、undefined 其他所有的值都是对象 。javascript中的对象是可变得键控集合,对象是属性的容器,对象适合用于收集和管理数据,对象可以包含其他对象javascript 包括一个原型链特性,正确地使用它能减少对象初始化的时... 阅读全文
posted @ 2015-06-19 10:05 8832A45C866CDB7D 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 1.you need to find the length of the sequence in an array, between the first and the second occurance of a specified number. /* 你需要找到一个数组中 指定元素 第一次 出现... 阅读全文
posted @ 2015-06-12 16:58 8832A45C866CDB7D 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 1.一个简单的代码function s(names){this.name=names;this.showname=functoin(){ alert(this.name);}} //工厂方式new s("张三").showname(); // 函数中 'this' 的理解2.面向对象的定义、特点、对... 阅读全文
posted @ 2015-06-11 15:42 8832A45C866CDB7D 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 一、常见的字符串处理函数// 返回字符的长度,一个中文算2个String.prototype.ChineseLength = function() { return this.replace(/[^\x00-\xff]/g, "**").length;}// 去掉字符串两端的空白字符String.p... 阅读全文
posted @ 2015-06-11 11:15 8832A45C866CDB7D 阅读(136) 评论(0) 推荐(0) 编辑