上一页 1 ··· 73 74 75 76 77 78 79 80 81 ··· 118 下一页
摘要: document.documentElement与document.body。2011-03-12 10:15:46|分类:javascript|字号订阅这是DOMDocument对象里的body子节点和整个节点树的根节点root。DOM把层次中的每一个对象都称之为节点,就是一个层次结构,你可以理解为一个树形结构,就像我们的目录一样,一个根目录,根目录下有子目录,子目录下还有子目录。以HTML超文本标记语言为例:整个文档的一个根就是,在DOM中可以使用document.documentElement来访问它,它就是整个节点树的根节点。而body是子节点,要访问到body标签,在脚本中应该写:d 阅读全文
posted @ 2014-01-15 01:18 daishuguang 阅读(197) 评论(0) 推荐(0) 编辑
摘要: javascript(js)中的 substring和substr方法Posted on2009-02-26 14:14chinaifne阅读(33698) 评论(0)编辑收藏1.substring 方法定义和用法substring 方法用于提取字符串中介于两个指定下标之间的字符。语法stringObject.substring(start,stop)参数 描述start 必需。一个非负的整数,规定要提取的子串的第一个字符在 stringObject 中的位置。stop 可选。一个非负的整数,比要提取的子串的最后一个字符在 stringObject 中的位置多 1。如果省略该参数,那么返... 阅读全文
posted @ 2014-01-14 19:27 daishuguang 阅读(296) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/woxueliuyun/article/details/8638427http://blog.sina.com.cn/s/blog_9dd702d501019cy4.htmlhttp://hi.baidu.com/shuanglinwanyu/item/136e584790d404e6bdf4511cscrollHeight 实际内容高度。offsetHeightclientHeight:是内容可视区域的高度,也就是说页面浏览器中可以看到内容的这个区域的高度,一般是最后一个工具条以下到状态栏以上的这个区域,与页面内容无关。https://develop 阅读全文
posted @ 2014-01-14 15:35 daishuguang 阅读(130) 评论(0) 推荐(0) 编辑
摘要: http://www.86shichang.com/blog/?post=43知名瀑布流网站http://hi.baidu.com/wanghao725/item/ff26ac9be63db2c5b72531a6http://www.alibuybuy.com/posts/74576.htmlhttp://blog.csdn.net/annaleeya/article/details/8278929http://www.cnblogs.com/yuzhongwusan/archive/2012/12/11/2812849.htmlhttp://udc.weibo.com/ 阅读全文
posted @ 2014-01-14 15:27 daishuguang 阅读(195) 评论(0) 推荐(0) 编辑
摘要: http://developer.51cto.com/art/201205/338220.htmhttp://www.cnblogs.com/50614090/archive/2011/08/19/2145620.htmlhttp://www.csdn.net/article/2013-09-23/2817020-web-performance-optimizationhttp://developer.51cto.com/art/201001/175711.htm 阅读全文
posted @ 2014-01-14 15:07 daishuguang 阅读(97) 评论(0) 推荐(0) 编辑
摘要: height、clientHeight、scrollHeight、offsetHeight区别 阅读全文
posted @ 2014-01-14 15:06 daishuguang 阅读(115) 评论(0) 推荐(0) 编辑
摘要: http://bbs.csdn.net/topics/360104933http://www.oschina.net/code/snippet_1042544_20893http://mobile.51cto.com/aprogram-403459.htm 阅读全文
posted @ 2014-01-14 15:03 daishuguang 阅读(225) 评论(0) 推荐(0) 编辑
摘要: 用Redis实现Session功能 阅读全文
posted @ 2014-01-14 14:21 daishuguang 阅读(185) 评论(0) 推荐(0) 编辑
摘要: 1 2 3 4 absolute和fixed的区别 5 12 13 14 我在屏幕的位置不会改变15 16 我会随屏幕滚动17 18 19 Fixed 相对于浏览器, Absolute相对于父元素。 阅读全文
posted @ 2014-01-13 03:27 daishuguang 阅读(194) 评论(0) 推荐(0) 编辑
摘要: http://jun1986.iteye.com/blog/1176909 阅读全文
posted @ 2014-01-13 03:03 daishuguang 阅读(95) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/shanyou/archive/2009/11/15/1603245.htmlhttp://my.oschina.net/tanyixiu/blog/123832 阅读全文
posted @ 2014-01-13 01:11 daishuguang 阅读(136) 评论(0) 推荐(0) 编辑
摘要: http://stackoverflow.com/questions/2353818/how-do-i-get-started-with-node-jshttp://net.tutsplus.com/tutorials/javascript-ajax/learning-serverside-javascript-with-node-js/http://javascriptissexy.com/learn-node-js-completely-and-with-confidence/http://visionmedia.github.io/masteringnode/http://chimera 阅读全文
posted @ 2014-01-12 23:46 daishuguang 阅读(172) 评论(0) 推荐(0) 编辑
摘要: http://www.iteye.com/news/25220/ 阅读全文
posted @ 2014-01-12 23:30 daishuguang 阅读(114) 评论(0) 推荐(0) 编辑
摘要: 转载地址:http://www.grati.org/?p=236应lemonhall要求,写一篇在windows中部署nodejs程序的文章,并提供了how to node上 “deploying-node-with-spark(如何使用spark部署node)“文章的链接(非常感谢lemonhall),今天有空正好说一下。nodejs编写的应用大都是网络服务,所以还是十分有必要使其能够按照deamon的方式执行的。我对“以deamon方式执行”有两点理解:1:能够给实现开机自动执行,且无需用户登录。2:deamon程序的有效用户ID和组ID(决定deamon权限)一般不是计算机的常用操作账户 阅读全文
posted @ 2014-01-12 20:52 daishuguang 阅读(1140) 评论(0) 推荐(0) 编辑
摘要: http://news.sina.com.cn/w/2006-02-08/15029047896.shtmlhttp://news.baidu.com/z/sharon/zhuanti.htmlhttp://news.sina.com.cn/w/2003-05-27/1307161369s.shtml 阅读全文
posted @ 2014-01-12 20:19 daishuguang 阅读(156) 评论(0) 推荐(0) 编辑
上一页 1 ··· 73 74 75 76 77 78 79 80 81 ··· 118 下一页