您正在查看 "Web" 分类下的文章
2008-07-01 00:34
(function(bootstrap){
if( window.$__loaded ) return ;
window.$__loaded = true;
var temp = document.createElement('div');
(function(){
try{
temp.doScroll('left');
document.body.appendChild(temp);
|
2008-06-20 13:27
http://code.google.com/p/ipress/
http://code.google.com/p/clong83/
http://code.google.com/p/ifeeds/
|
2008-04-21 15:17
FlowerScript aims to be lightweight, simple and fast scripting language implemented in D. It started with the main |
2007-12-10 21:12
function $defined(obj){
return (obj != undefined);
};
function $lambda(value){
return (typeof value == 'function') ? value : function(){
return value;
};
};
function $type(obj){
if (obj == undefined) return false;
if (obj.$family) return ( obj.$family == 'number' && !isFinite(obj)) ? false : obj.$family;
|
2007-11-15 14:26
//Fx.Lrc , Copyright (c) 2006-2007 Changlong, <http://music.ad.xwall.cn>, MIT Style License.
//r1028
Fx.Lrc = new Class({
Extends: Fx,
options: {
left: 120,
hCol: '#f90',
lCol: '#999',
advance: 0.88,
|
2007-11-15 14:25
//iPlayer , Copyright (c) 2006-2007 Changlong, <http://music.ad.xwall.cn>, MIT Style License.
// r1028
var Browser = Client;
var iPlayer = new Class({
State:99,
Implements: [Options, Events],
options: {
height: 1 ,
width: 1 ,
pro |
2007-09-27 13:47
// based on mootools r984
var XFlv = new Class({
Implements: [ Options],
options: {
width: 500,
height: 350,
top: 20,
left: 20,
swf:{
|
2007-07-21 18:22
Native(Date); Native.setFamily({'date': Date});
Date.Names = { Apm: ['Am','Pm'], Suffix: ['St','Nd','Rd', 'Th'], Day: ['Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'], Month: ['January','February','March','April','May','June','July','August','September','October','November','December'] }
Date.ShortNames = {}
Date.map = { Y:{k:'FullYear',l:4}, y:{k:'FullYear', l:2, a: 2000}, m:{k:'Month',l:2, a: -1}, n |
2007-07-18 12:10
/*
new XMenu("#Xmenu a", {});
*/
var XMenu = new Class({
Implements: [Chain, Options],
options: {
mode: 'width',
offset:{
over:0,
normal:0,
|
2007-07-11 12:33
var XTips = new Class({
Implements :[Events, Options],
options: {
onShow: function(tip){
tip.Fx.stop();
var fx = $merge(tip.pos,{'width':[0, 170],height:[0, tip.toolTip.getElements('a').length *20], 'font-size':[0,12], 'color':["#f00","#333"],'opac |
2007-04-15 13:31
var Flow = {
time:0,
dt:0,
Ary:{0:[0,0]},
oAry: false,
sAry: [],
order: {by:'down',flag:1, el:null},
tmp:null,
Init: function(){
var ip = window.location.toString().match(/^.+\/\/(\d+\.\d+\.\d+\.)\d+/);
if( !ip ){
alert('Parse Lan ip false.');
return false;
}
Flow.url = window.location + '?f=1';
Flow.ip
|
2007-03-31 10:18
i (PCRE_CASELESS)
如果设置了这个修饰符, 则表达式不区分大小写.
m (PCRE_MULTILINE)
默认的, PCRE 认为目标字符串值是单行字符串 (即使他确实包含多行). 行开始标记 (^) 只匹配字符串的开始部分, 而行结束标记 ($) 只匹配字符串的尾部,或者一个结束行(除非指定 E 修饰符). 这个和 Perl 里面一样.
如果设定了这个修饰符, 行开始和行结束结构分别匹配在目标字符串任何新行的当前位置后面的或者以前的, 和每一个开始和结束一样. 这个等于 Perl 里面的 /m 修饰符. 如果目标字符串没有 "n" 字符, 或者 |
2007-03-17 15:03
The first release candidate for Prototype 1.5.1 is now available for download. Prototype 1.5.1_rc1 contains bug fixes, performance improvements, and a few new features. If you’re using Prototype 1.5.0 in your application, we urge you to upgrade to this release candidate and |
|
| |