By cfddream on 2009/10/29
Posted in flash | Tagged animation
By cfddream on 2009/10/29
微软发布了 Ajax Library 6 和 Ajax Minifier
相关信息:http://weblogs.asp.net/scottgu/archive/2009/10/15/announcing-microsoft-ajax-library-preview-6-and-the-microsoft-ajax-minifier.aspx
http://aspnet.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=34488
跟 Yahoo 开发的 yuicompressor 进行了对比,ajax-minifier 压缩率略高一点点!
Posted in JavaScript, library | Tagged ajax, library, minifier
By cfddream on 2009/10/26
Posted in flash | Tagged animation, flash
By cfddream on 2009/10/23
input 和 raw_input 都可以读取控制台的输入; 但它们之间有差别, raw_input 对空控制台的输入都解释为字符串
s = raw_input(”Please enter a string: “);
print type(s); #
n = input(”Please enter a number: “);
print type(n); #
差了官方文档 http://docs.python.org/library/functions.html?highlight=input#input
其实 input 函数等效于
def input(prompt):
[...]
Posted in python
By cfddream on 2009/10/20
1.先来看下看下函数声明的两种方式:
// 常规函数声明;在程序的上下问(注意:作用域),都可以访问调用
function add_one(x, y){
return x + y;
}
// 函数直接量, 使用变量来引用匿名函数;只能在函数直接量被声明后才能调用。
[...]
Posted in JavaScript | Tagged browsers, js
By cfddream on 2009/10/19
Posted in Mootools
By cfddream on 2009/10/06
Starter: jumptstart Your jQuery Plugins: 是一个在线的jQuery插件开发工具,能够让我们轻松的开发出jQuery插件。
Posted in jQuery