| document.body プロパティ | ||||||||||||
| accessKey IE4.0 NS |
エレメントに適用できるアクセラレータキー 型:文字列
ALTキーと指定したアクセラレータキーを押すとフォーカスを与えることができ、onClick イベントが発生する。 属性:ACCESSKEY |
[Read/Wite] HTML4.0 W3C(DOM1) |
||||||||||
| aLink IE4.0 NS6 |
アクティブリンクの色 型:バリアント
属性:ALINK エレメント:BODY |
[Read/Write] HTML W3C(DOM1) |
||||||||||
| background IE3.02 NS6 |
背景画像 型:文字列
属性:BACKGROUND エレメント:BODY |
[Read/Write] HTML W3C(DOM1) |
||||||||||
| bgColor IE3.02 NS6 |
ページのバックグラウンドカラー 型:バリアント
属性:BGCOLOR エレメント:BODY , MARQUEE , TABLE , TBODY , TD , TFOOT , TH , THEAD , TR |
[Read/Write] HTML W3C(DOM1) |
||||||||||
| bgProperties IE3.02 NS |
背景画像のページスクロール 型:文字列
属性:BGPROPERTIES エレメント:BODY |
[Read/Write] W3C |
||||||||||
| bottomMargin IE4.0 NS |
ページボディの下側マージン 型:文字列
属性:BOTTOMMARGIN エレメント:BODY |
[Read/Write] W3C |
||||||||||
| className IE4.0 NS6 |
指定されたエレメントのクラス 型:文字列
スタイルシートによるスタイル指定と適用するエレメントを関連付けるために使う。 属性:CLASS |
[Read/Write] HTML4.0 W3C(DOM1) |
||||||||||
| clientHeight IE4.0 NS7 |
エレメントの高さ 型:数値
※エレメントに適用されているマージン、枠線、スクロールバー、パディングなどは含まれない。 属性:なし |
[Read] W3C Step.74 Step.93 |
||||||||||
| clientLeft IE4.0 NS |
offsetLeftとクライアントエリアの真の左側との距離 型:数値
※offsetLeftとclientLeftとの違いはエレメントの枠線である。 属性:なし |
[Read] W3C |
||||||||||
| clientTop IE4.0 NS |
offsetTopとクライアントエリアの真の上側との距離 型:数値
※offsetTopとclientTopとの違いはエレメントの枠線である。 属性:なし |
[Read] W3C |
||||||||||
| clientWidth IE4.0 NS7 |
エレメントの幅 型:数値
※エレメントに適用されているマージン、枠線、スクロールバー、パディングなどは含まれない。 属性:なし |
[Read] W3C Step.74 Step.93 |
||||||||||
| id IE4.0 NS6 |
オブジェクトを識別する文字列 型:文字列
※ドキュメント内に重複してはいけない。 属性:ID |
[Read/Write] HTML4.0 W3C(DOM1) |
||||||||||
| innerHTML IE4.0 NS6 |
指定のエレメント内のHTML 型:文字列
※ドキュメントがロード中に設定してはいけない。 属性:なし |
[Read/Write] W3C Step.54 |
||||||||||
| innerText IE4.0 NS7 |
指定のエレメント内のテキスト 型:文字列
※ドキュメントがロード中に設定してはいけない。 属性:なし |
[Read/Write] W3C Step.53 |
||||||||||
| lang IE4.0 NS6 |
使用する言語 型:文字列
※文法解析エンジンはこのプロパティによって、引用、数字など言語に応じた解析を行う。 属性:LANG |
[Read/Write] HTML4.0 W3C(DOM1) |
||||||||||
| language IE4.0 NS |
スクリプトを書くために使用した言語 型:文字列
属性:LANGUAGE |
[Read/Write] HTML |
||||||||||
| leftMargin IE4.0 NS |
ページボディの左側マージン 型:バリアント
属性:LEFTMARGIN エレメント:BODY |
[Read/Write] W3C |
||||||||||
| noWrap IE4.0 NS |
ブラウザの自動改行設定 型:ブール値
属性:NOWRAP エレメント:BODY , DD , DIV , DT , TD , TH |
[Read/Write] HTML W3C(DOM1) |
||||||||||
| offsetHeight IE4.0 NS6 |
親の座標軸を基準とした相対座標のエレメントの高さ 型:数値
属性:なし |
[Read] W3C |
||||||||||
| offsetLeft IE4.0 NS6 |
ウィンドウを基準としたエレメントの左側の座標 型:数値
属性:なし |
[Read] W3C |
||||||||||
| offsetParent IE4.0 NS6 |
オブジェクトの上と左のオフセットを基準となるコンテナエレメントのオブジェクト 型:オブジェクト 属性:なし |
[Read] W3C |
||||||||||
| offsetTop IE4.0 NS6 |
親の座標軸を基準とした相対座標のエレメントの上端の座標 型:数値
属性:なし |
[Read] W3C |
||||||||||
| offsetWidth IE4.0 NS6 |
ドキュメントの左上の角を基準としたエレメントの幅 型:数値
属性:なし |
[Read] W3C |
||||||||||
| parentElement IE4.0 NS |
エレメントの階層の中の親エレメント 型:オブジェクト ※最上位のエレメントの場合はnullを返す。 属性:なし |
[Read] W3C |
||||||||||
| parentTextEdit IE4.0 NS |
元のエレメントを含むTextRangeオブジェクトを作成するために使われるエレメントで、階層上で次のものを返す。 型:オブジェクト ※親が存在する場合はエレメントオブジェクトとなり、それ以外はnullを返す。 属性:なし |
[Read] W3C |
||||||||||
| rightMargin IE4.0 NS |
ページ ボディの右側マージン 型:バリアント
属性:RIGHTMARGIN エレメント:BODY |
[Read/Write] W3C |
||||||||||
| scroll IE4.0 NS |
スクロールバーの表示するかどうか 型:文字列
属性:SCROLL エレメント:BODY , HTML |
[Read/Write] W3C |
||||||||||
| scrollHeight IE4.0 NS7 |
スクロールする高さ 型:数値
※エレメントの表示されているコンテントの高さで、コンテント全体の物理的な高さはoffsetHeightプロパティを使う。 属性:なし |
[Read] W3C |
||||||||||
| scrollLeft IE4.0 NS7 |
エレメントの左端部と現在見えているエレメントの最左端部との間の距離 型:数値
※エレメントのコンテントを水平方向にスクロールした距離に等しい。 属性:なし |
[Read] W3C Step.74 Step.93 |
||||||||||
| scrollTop IE4.0 NS7 |
エレメントの上部と現在見えているエレメントの最上部との間の距離 型:数値
※エレメントのコンテントを垂直方向にスクロールした距離に等しい。 属性:なし |
[Read] W3C Step.74 Step.93 |
||||||||||
| scrollWidth IE4.0 NS7 |
スクロールする幅 型:数値
※エレメントの表示されているコンテントの幅のこと。 属性:なし |
[Read] W3C |
||||||||||
| sourceIndex IE4.0 NS |
allコレクション内のエレメントの、ソースに出てくる順番 型:数値 属性:なし |
[Read] W3C |
||||||||||
| tabIndex IE4.0 NS |
オブジェクトのタブインデックス 型:数値
属性:TABINDEX |
[Read/Write] HTML4 W3C(DOM1) |
||||||||||
| tagName IE4.0 NS6 |
現在のエレメントのタグ 型:文字列
属性:なし |
[Read] W3C(DOM1) |
||||||||||
| text IE4.0 NS6 |
ボディのテキストカラー 型:バリアント
属性:TEXT エレメント:BODY |
[Read/Write] HTML W3C(DOM1) |
||||||||||
| topMargin IE3.02 NS |
上側マージン 型:バリアント
属性:TOPMARGIN エレメント:BODY |
[Read/Write] W3C |
||||||||||
| vLink IE3.02 NS6 |
表示済みのリンクの色 型:バリアント
属性:VLINK エレメント:BODY |
[Read/Write] HTML W3C(DOM1) |
||||||||||
interface HTMLAreaElement : HTMLElement {
attribute DOMString accessKey;
attribute DOMString alt;
attribute DOMString coords;
attribute DOMString href;
attribute boolean noHref;
attribute DOMString shape;
attribute long tabIndex;
attribute DOMString target;
};
interface HTMLBodyElement : HTMLElement {
attribute DOMString aLink;
attribute DOMString background;
attribute DOMString bgColor;
attribute DOMString link;
attribute DOMString text;
attribute DOMString vLink;
};
interface HTMLElement : Element {
attribute DOMString id;
attribute DOMString title;
attribute DOMString lang;
attribute DOMString dir;
attribute DOMString className;
};
interface HTMLTableCellElement : HTMLElement {
readonly attribute long cellIndex;
attribute DOMString abbr;
attribute DOMString align;
attribute DOMString axis;
attribute DOMString bgColor;
attribute DOMString ch;
attribute DOMString chOff;
attribute long colSpan;
attribute DOMString headers;
attribute DOMString height;
attribute boolean noWrap;
attribute long rowSpan;
attribute DOMString scope;
attribute DOMString vAlign;
attribute DOMString width;
};
interface Element : Node {
readonly attribute DOMString tagName;
DOMString getAttribute(in DOMString name);
void setAttribute(in DOMString name,
in DOMString value)
raises(DOMException);
void removeAttribute(in DOMString name)
raises(DOMException);
Attr getAttributeNode(in DOMString name);
Attr setAttributeNode(in Attr newAttr)
raises(DOMException);
Attr removeAttributeNode(in Attr oldAttr)
raises(DOMException);
NodeList getElementsByTagName(in DOMString name);
void normalize();
};
|