タグ

ブックマーク / developer.mozilla.org (9)

  • DOM - MDC

    ドキュメントオブジェクトモデル (Document Object Model, DOM) は、ウェブページを表す HTML のような文書の構造をメモリー内に表現することで、ウェブページとスクリプトやプログラミング言語を接続するものです。ふつうは JavaScript を使用しますが、HTMLSVG、XML などの文書をオブジェクトとしてモデリングすることはコア JavaScript 言語の一部ではありません。 DOM は文書を論理的なツリーで表現します。ツリーのそれぞれの枝はノードで終わっており、それぞれのノードがオブジェクトを含んでいます。 DOM のメソッドでプログラム的にツリーにアクセスできます。これにより、文書構造やスタイルやコンテンツを変更することができます。 ノードにはイベントハンドラーを割り当てることができます。イベントが発生すると、イベントハンドラーが実行されます。 DO

    DOM - MDC
    nitoyon
    nitoyon 2008/07/10
    Gecho の DOM 仕様。日本語。
  • Build Documentation - Mozilla | MDN

    ウェブ開発のベストプラクティスを学ぶGet the latest and greatest from MDN delivered straight to your inbox. 現在、ニュースレターは英語でのみ提供されています。

    Build Documentation - Mozilla | MDN
    nitoyon
    nitoyon 2007/09/17
    Mozilla ビルド方法。
  • JavaScript style guide - Mozilla | MDN

    else は上で示したように常に単独の行に書いてください。 return の後には else を使わないでください。 if (x < y) return -1; if (x > y) return 1; return 0; i++ も ++i も使用可能です。 インライン関数はそのデバッグが楽になるように名前を付けてください。関数をプロパティに代入しただけではその関数に名前を付けることはできません。次のようにしてください。 var offlineObserver = { observe: function OO_observe(aSubject, aTopic, aState) { if (aTopic == "network:offline-status-changed") setOfflineUI(aState == "offline"); } }; 名前や列挙値には interCap

    JavaScript style guide - Mozilla | MDN
    nitoyon
    nitoyon 2007/07/23
    Mozilla の JS コーディング規約。if のあとのスペースとタブがスペース2文字以外は自分の書き方と似ている。おもしろ。 via b:id:amachang
  • Gecko hacking tutorial | MDN

    はじめに この文書は、Mozilla の心臓部である Gecko を Hack するための手順を紹介します。 準備 環境 この文書は、以下の環境を想定しています。 OS ソースコードの取得 何よりもまず、Mozilla のソースコードが必要です。この記事では、(この記事の執筆時点で)Firefoxの最新リリースである Firefox 2.0.0.2 を使用します。Firefox 2.0.0.2 のソースコードは、以下から入手可能です。 http://ftp.mozilla.org/pub/mozilla.o....0.0.2/source/ ソースコードはbzipアーカイブです。後で展開作業を行いますので、適当な場所に保存しておいてください。 コンパイラの準備 Windows Build Prerequisitesによると、この記事が対象としている Firefox 2.0.x をビルドする

    Gecko hacking tutorial | MDN
    nitoyon
    nitoyon 2007/05/23
    例の描画順をGIFアニメにした人の手法公開。VC++のデバッグ方法まで丁寧に解説。 http://d.hatena.ne.jp/gyuque/20070327#1175005196
  • Firebug internals - MDC

    Source Code Firebug source is available via subversion Alternative: Get Firebug; The source is included. Find the installed firebug in the Mozilla extensions directory, eg C:\Documents and Settings\John J. Barton\Application Data\Mozilla\Firefox\Profiles\w5tmpjcs.test\extensions\firebug@software.joehewitt.com\ Copy the directory to your workspace find firebug.jar in the chrome directory. rename

    nitoyon
    nitoyon 2007/05/02
    Firebug の内部設計、拡張方法、など。(情報がちょっと古いらしい via b:id:amachang
  • Home - Ecma International

    Ecma International is an industry association dedicated to the standardization of information and communication systems Ecma is driven by industry members to meet their needs, providing a healthy competitive landscape based on differentiation of products and services rather than technology models, generating confidence among vendors and users of new technology.

    nitoyon
    nitoyon 2007/03/20
    ECMAScript4 と ActionScript3 の相違点。いまのところ、AS3 からの変更点は String, Boolean は final, sealed でなくなる、is の右側はtype expression のみ、package,namespaceに多少の変更がある、といったところ。
  • Home - Ecma International

    Ecma International is an industry association dedicated to the standardization of information and communication systems Ecma is driven by industry members to meet their needs, providing a healthy competitive landscape based on differentiation of products and services rather than technology models, generating confidence among vendors and users of new technology.

    nitoyon
    nitoyon 2007/03/20
    ECMAScript の議論場所。仕様などがまとまってる。ざっくり見た感じ、ActionScript3+α、ぐらいの印象。
  • Microsummary を作成する | MDN

    microsummary generator はページのコンテンツから microsummary を生成するためのコマンドの集合です。ウェブページは generator を <head> 要素の <link rel="microsummary"> 要素により参照できます。generators はそれが適用されるページのリストを持っている場合、ユーザにより個別にダウンロードしたりインストールすることができます。 このチュートリアルでは、Spread Firefox home page 用に Firefox の現在のダウンロード数をラベル Fx downloads とともに表示する microsummary generator を作成します。例: 174475447 Fx downloads ページを microsummary に変換する XSLT 変換シートを作成し、generator をペ

    Microsummary を作成する | MDN
    nitoyon
    nitoyon 2006/10/30
    ライブタイトルの背景技術
  • Gecko DOM Reference - MDC

    The Document Object Model (DOM) connects web pages to scripts or programming languages by representing the structure of a document—such as the HTML representing a web page—in memory. Usually, that means JavaScript, although modeling HTML, SVG, or XML documents as objects are not part of the core JavaScript language, as such. The DOM represents a document with a logical tree. Each branch of the tre

    Gecko DOM Reference - MDC
  • 1