JavaSript

  • 【2009-07-18】9个javascript语法高亮插件 推荐

    下面介绍的是一些纯javascript实现的语法高亮插件。 英文原文:http://www.webdesignbooth.com/9-useful-javascript-syntax-highli

  • 【2009-07-19】javascript iframe内的函数调用实现方法

    sxmsxm.html 复制代码 代码如下:<script> function sonfun() { alert('ok'); } </script> main.html

  • 【2009-07-19】Prototype Class对象学习

    复制代码 代码如下:/* Based on Alex Arnell's inheritance implementation. */ var Class = (function() { //临时存

  • 【2009-07-19】Prototype RegExp对象 学习

    复制代码 代码如下:RegExp.prototype.match = RegExp.prototype.test; RegExp.escape = function(str) { return S

  • 【2009-07-19】Prototype ObjectRange对象学习

    Ranges represent an interval of values. The value type just needs to be “compatible,” that is, to

  • 【2009-07-19】Prototype Number对象 学习

    复制代码 代码如下:Object.extend(Number.prototype, (function() { //返回十六进制颜色之 function toColorPart() { retur

  • 【2009-07-19】Prototype Template对象 学习

    复制代码 代码如下:var Template = Class.create({ //初始化方法 initialize: function(template, pattern) { this.tem

  • 【2009-07-19】Prototype String对象 学习

    复制代码 代码如下://String对象的静态方法 Object.extend(String, { interpret: function(value) { return value == nul

  • 【2009-07-19】Prototype PeriodicalExecuter对象 学习

    This is a simple facility for periodical execution of a function. This essentially encapsulates th

  • 【2009-07-19】Prototype Array对象 学习

    复制代码 代码如下:Array.from = $A; (function() { //Array原型的引用 var arrayProto = Array.prototype, slice = ar

首页 上页 [1936] [1937] [1938] [1939] [1940] [1941] 下页 尾页 共21717条记录 每页10条 页次1938/2172
地址:上海市普陀区胶州路941号长久商务中心 电话: QQ:
© Copyright 2012 上海网络 Product All Rights Reserved