构建基于JAVASCRIPT的移动WEB CMS入门——简介发布时间:2014-07-17 14:16:18.035763看到项目上的移动框架,网上寻找了一下,发现原来这些一开始都有。于是,找了个示例开始构建一个移动平台的CMS——墨颀 CMS,方便项目深入理解的同时,也可以自己维护一个CMS系统。...
分类:
移动开发 时间:
2014-07-19 09:11:27
阅读次数:
162
javascript仿新浪微博图片放大缩小及旋转效果
分类:
编程语言 时间:
2014-07-19 09:06:06
阅读次数:
205
Use an empty temporary constructor function F(). Set the prototype of F() to be the parent object. Return a new instance of the temporary construct...
分类:
编程语言 时间:
2014-07-19 08:36:01
阅读次数:
276
过程化编码 过程化编码, 表现为 定义若干函数,然后调用定义函数,随着页面交互逻辑变化, 从简单到复杂, 定义的所有函数、和变量 都挂在 window对象上,window对象 编程者子自定义变量名称 规模会愈来愈额庞大,在后面开发和维护的过程中,很容易导致函数名称冲突,引起意想不到问题。 例如,.....
分类:
编程语言 时间:
2014-07-19 08:30:53
阅读次数:
276
.div1{ width:100px; height:50px; background-color:Gray; opacity: 0.5; border:1px solid red; box-shadow:0 0 50px inset; border-radius:10px; margin:100px auto}
function gaibian() {
...
分类:
编程语言 时间:
2014-07-19 08:27:20
阅读次数:
214
//【字典形式的数组】
var arr = new Array(); //声明一个动态数组对象arr
arr[0] = "tom";
arr[1] = "jim";
arr[2] = "二狗子";
for (var i in arr) {...
分类:
编程语言 时间:
2014-07-19 08:09:35
阅读次数:
245
Random nodes
body {
font: 13pt "courier new";
}
#mynetwork {
width: 600px;
height: 600px;
border: 8px solid blueviolet...
分类:
Web程序 时间:
2014-07-19 02:45:26
阅读次数:
479
JavaScript 常见陷阱 总结
1 数组
2 函数级作用域
3 this变量
4 对象直接量和JSON
5 undefined和null
6 replace
7 全局变量...
分类:
编程语言 时间:
2014-07-19 02:36:05
阅读次数:
273
Douglas Crockford classified the "class methods" in JavaScript into three types:
private, privileged and public.
Public methods have an obvious meaning: they can be accessed by the public.
Priv...
分类:
编程语言 时间:
2014-07-19 02:31:05
阅读次数:
282