Ajax

日本語環境がなくてもIMEを使えるようになる

これは使ってみてちょっとおもしろかった。 Ajaxで実装したIMEなので、日本語環境がないPCからでも日本語変換が出来るらしい。Ajax IME: Web-based Japanese Input Method http://chasen.org/ ブックマークレットについて http://chasen.org/~taku/blog/arch…

子Windowの作成とドラッグ&ドロップを実装する

innerhtml2.html <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html;charset=utf-8" /> </meta></head></html>

ラジオボタンでテキストを切り替える処理

これはinnerHTMLを使っているのが新しいだけで特に新しいことはなし。innerhtml.html <html xmlns="http://www.w3.org/1999/xhtml"> <head> </head></html>

ようやくAjax

アイデアブックも3章に入り、ようやくAjaxに入った。hello_ajax.html <html xmlns="http://www.w3.org/1999/xhtml"> <head> </head></html>

キーボードイベント

<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html;charset=utf-8" /> <title>イベントサンプル</title>…</meta></head></html>

マウスイベント

<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html;charset=utf-8" /> <title>イベントサンプル</title>…</meta></head></html>

Javascriptのイベント追加

<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html;charset=utf-8" /> <title>イベントサンプル</title>…</meta></head></html>

リスト動的に追加したり削除したりするサンプル

<html> <head> <script language="javascript" type="text/javascript"></head></html>

Javascriptではまった

<html> <head> <script language="javascript" type="text/javascript"> var text = document.getElementById("item1").firstChild.nodeValue; alert(text); </script> </head> <body> <h1 id="title">タイトル</h1> <ul> <li id="item1">リスト1</li> <li id="item2">リスト2</li> <li id="item3">リスト3</li> <li id="item4">リスト4</li></ul></body></html>

DHTML入門

<html> <head> <script language="javascript" type="text/javascript"> function changeTitle(){ document.getElementById('title').style.fontSize='16px'; } function changeLink(){ document.getElementById('link').href='http://www.google.com'; document.getElementById('link').childNodes[0].nodeValue='google';…</head></html>