解決済

clip!clip!
Ads By Google

コメントの名前をあらかじめ書いておき、コメントしてくれる人の手間をはぶきたい


2006-02-27 06:11の質問
この質問と回答を読んで役に立った場合は「役に立つ質問」に投票してください。投票が多い質問は、役に立つ質問一覧に掲載され、より多くの人に見てもらうことができます。

回答(1)

1.

2006-02-27 10:25:58ベスト
デザインのカスタマイズで、
個別記事編集ページを開きます

まずは、<input id="author" name="author">
というのを
<input id="author" name="author" value="好きな名前" onfocus="this.select()">
に変えます(2箇所あります)

次に
loadCommentAuthor(document.comment_form);
というのを
if (document.comment_form.author != undefined && getCookie("author") != undefined && getCookie("author") != "")
document.comment_form.author.value = getCookie("author");
if (document.comment_form.email != undefined)
document.comment_form.email.value = getCookie("email");
if (document.comment_form.url != undefined)
document.comment_form.url.value = getCookie("url");
if (getCookie("author") || getCookie("email"))
document.comment_form.bake.checked = true;
・・に変えます

そして全ページ再構築すればOKです^^
Ads By Google

コメント

まだコメントがありません

トラックバック(3)

トラックバックURL:

何度見ても泣いてしまう映画

「何度見ても泣いてしまう映画はなんですか?」について。      。 ∧∧。゚    r―――――─――― 、       ゚(Д⊂ヽ゚ < スタンド・バイ・ミー。 |         と   l´   `─――――――── ' .         し^J`ヽ 特に泣け...

AAなにっき at 2006年04月22日 03:25:31