Angelo Lee's Blog
This is my kingdom .If i don't fight for it ,who will ?
摘要: 本文基本参考自 轻松实现Apache,Tomcat集群和负载均衡,经由实操经历记录而成,碰到些出入,以及个别地方依据个人的习惯,所以在一定程度上未能保持原文的完整性,还望原著者海涵。 因原文中有较多的贴图,如若各位读者一时不想亲自动手而直想看到配置效果,可查看原文。一:软件环境 1. Apache: apache 2.0.55 (由http://httpd.apache.org/进入下载)(点击下载apache 2.0.55) 2. Tomcat: Tomcat 5.5.25 (由http://tomcat.apache.org/进入下载)(点击下载Tomcat 5.5.25 zip版) 3. 阅读全文
posted @ 2008-10-17 13:17 Angelo Lee 阅读(157) 评论(0) 推荐(0) 编辑
摘要: 先贴一个使用的小技巧:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->temp1=document.getElementById('id1');temp2=document.getElementById('id2');which=temp1||temp2;如果temp1元素存在,则which指向temp1,否则which指向temp2。五个指针:parentNode, previousSibling, next 阅读全文
posted @ 2008-10-17 09:40 Angelo Lee 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 常用函数:createElement 创建元素(不会立即显示,必须绑定到某个父节点上)createTextNode 创建文本节点(不会立即显示,必须绑定到某个父节点上)insertBefore 将一个元素插入到父节点下的某个元素之前(插入后浏览器即时渲染)appendChild 将一个元素添加到父节点下的最后位置(插入后浏览器即时渲染)removeChild 从父节点中删除一个节点(删除后浏览器即时渲染)以下为《精通JavaScript》中提供的函数Code highlighting produced by Actipro CodeHighlighter (freeware)http://w. 阅读全文
posted @ 2008-10-17 09:37 Angelo Lee 阅读(97) 评论(0) 推荐(0) 编辑
摘要: “事件是把所有东西粘在一起的胶水”,没有事件就没有JavaScript强大的交互作用。基本认识1.JavaScript是完全异步的。这就意味着你不必去处理那些烦人的多线程问题,可以轻松监听及响应各种事件。2.对于事件的处理我们只需要使用事件处理函数简单地注册一个回调函数,当事件触发时,回调函数将会被调用执行。Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->//定义回调函数loadedfunctionloaded(){alert('Fi 阅读全文
posted @ 2008-10-17 09:22 Angelo Lee 阅读(144) 评论(0) 推荐(0) 编辑