かなりの手応え。
Kahua-S5期待age
Gauche本を書く。 (あまり進まなかった...)
karetta.jpのバグ修正と、「自動公開」機能を追加。
に対応。DoCoMoはエリアコード、auは緯度経度が取得できるところまで。
http://lists.sourceforge.jp/mailman/archives/gauche-devel-jp/2006-May/001605.html
にひっかかった。
http://mephisto.torus.jp/index.html
が動いた。めでたしめでたし。
http://karetta.jp/article/blog/karetta-news/006102
2006/04/01 22:32:06 PST
onUpdateによるイベント通知(やっとできた)
<html>
<head>
<script type="text/javascript" language="javascript" src="prototype.js"></script>
<script type="text/javascript" language="javascript" src="scriptaculous.js"></script>
</head>
<body>
<div id="book">
<div id="chap_1">- Foundations of Ajax</div>
<div id="chap_2">- Using XMLHttpRequest Object
<div id="sec_1">-- Overview of the XMLHttpRequest Object</div>
<div id="sec_2">-- Methods and Properties</div>
<div id="sec_3">-- An Example Interaction</div>
</div>
<div id="chap_3">- Communicating with the Server</div>
<script type="text/javascript" language="javascript">
Sortable.create('book',{tag:'div',ghosting:false,constraint:false,
onUpdate:function(s){alert(Sortable.serialize(s))}});
Sortable.create('chap_2',{tag:'div',ghosting:false,constraint:false,
onUpdate:function(s){alert(Sortable.serialize(s))}});
</script>
</body>
</html>
要点: 子要素にidを必ずつける。idは '名前_番号' でなければならない!
2006/04/01 17:33:09 PST
ちょっとscript.aculo.usでドラッグドロップの練習。
<html>
<head>
<script type="text/javascript" language="javascript" src="prototype.js"></script>
<script type="text/javascript" langupage="javascript" src="scriptaculous.js"></script>
</head>
<body>
<div id="book">
<div>- Foundations of Ajax</div>
<div>- Using XMLHttpRequest Object
<div id="chap2">
<div>-- Overview of the XMLHttpRequest Object</div>
<div>-- Methods and Properties</div>
<div>-- An Example Interaction</div>
</div></div>
<div>- Communicating with the Server</div>
<script type="text/javascript" language="javascript">
Sortable.create('book',{tag:'div',ghosting:false,constraint:false,});
Sortable.create('chap2',{tag:'div',ghosting:false,constraint:false,});
</script>
</body>
</html>
2006/04/01 16:33:57 PST
http://karetta.jp/ に読者登録機能を作成。簡単だと思ったが意外に手間取ってしまった。ほかにいくつかバグを修正。
2006/03/03 17:46:43 PST
kernel-2.6.8-2-i686-smp libc6-i686 apache2-mpm-worker libapache2-mod-fcgid Gauche-0.8.7_pre1 Gauche-fastcgi-0.1.3 Gauche-kakasi-0.0.1 Gauche-dbd-mysql-0.2.1
こんなところです...
karettaのユーザー管理機能のうち、以下をプラグイン化する。
問題点:
前提: もっとwikiみたいに簡単に編集できるようにしたい
現状では同じ親を持つ見出し同士の入れ替えしかできないが、他の見出し配下に移動できるようにする(部分木の移動)