タイトルバーに文字を表示する


■動作ブラウザ 【 IE:4.0  NN:6.0】
Internet Explorer Netscape Navigator DreamPassport iCab
3.0x 4.0x 4.5 5.0x 5.5 2.0x 3.0x 4.0x 4.x 6.0 2 3 2.x
Windows × ○ - ○ ○ × × × × ○ - × -
Macintosh × ○ ○ ○ - × × × × ○ - - ○
UNIX - - - - - × × × × ○ - - -
Dreamcast - - - - - - - - - - × × -

ポイント document.title = "ページ表示完了!";
説  明 タイトルバーに文字を表示するにはdocument.titleに表示したい文字を代入します。
サンプル <html> <head> <title>タイトルバーに文字を表示する</title> <script Language="JavaScript"><!-- function tMsg() { document.title = "ページ表示完了!"; } // --></script> </head> <body onLoad="tMsg()"> タイトルバーに文字を表示する </body> </html>
補足説明 なし

■サンプルスクリプトを実行する >>実行
■各ブラウザでの動作結果を見る >>View!

写真素材 PIXTA