Goodspeed

导航

01 2011 档案

$(".class")后到底发生了什么 -- jquery选择器分析
摘要:$(".class")到底发生了什么。让我们一步一步来看注意rootjQuery其实就是$(document),绕了半天$(".class")就是$(document).find(".class")。接着看注意下面这行代码jQuery.find = Sizzle;也就是说jQuery.find默认是由Sizzle引擎提供的。那么开始进入Sizzle的代码了。先从简单的说起好的,这就很明白了,如果你的浏览器支持document.querySelectorAll,那么jQuery就直接用document.querySelectorAll来做了。有点区别的是IE8需要在document上设个id(如 阅读全文

posted @ 2011-01-10 14:42 Goodspeed 阅读(2881) 评论(0) 推荐(0) 编辑

python 安装 MySqlDB会碰到的问题
摘要:碰到 command 'gcc' failed with exit status 1 阅读全文

posted @ 2011-01-07 18:55 Goodspeed 阅读(227) 评论(0) 推荐(0) 编辑

nginx使用HttpImageFilterModule
摘要:下载最新的nginx源码sudo ./configure --sbin-path=/usr/sbin/nginx --with-http_image_filter_module --prefix=/usr/sbin --conf-path=/etc/nginx/nginx.confsudo makesudo make install 阅读全文

posted @ 2011-01-04 16:08 Goodspeed 阅读(974) 评论(0) 推荐(0) 编辑