OSDN Git Service

自動リンク機能がある程度安定しているようなので、現時点でのブランチorigin/autolinkをmasterにmerge。
[kenranchat/yadchat.git] / kenranutil.js
1 // \83v\83\8b\83_\83E\83\93\83\81\83j\83\85\81[
2 hideflag = true;
3 function pullDown() {
4   if (hideflag) menu.style.visibility = "hidden";
5   else menu.style.visibility = "visible";
6   hideflag = !hideflag;
7 }
8
9 // \88È\89º\82ÌJavaScript\81i\94­\8c¾\83R\83\81\83\93\83g\82Ì\8e©\93®\8fÁ\8b\8e\8b@\94\\81j\82Í
10 // \82ä\82¢\82¿\82á\82Á\82Æ (http://www.cup.com/yui/) \82©\82ç\82Ì\88Ú\90A\81B
11 function autoclear() {
12  if (self.document.send) {
13   if (self.document.cmode && self.document.cmode.autoclear) {
14    if (self.document.cmode.autoclear.checked) {
15     if (self.document.send.face) {
16       self.document.send.face.options[0].selected = true;
17     }
18     if (self.document.send.comment) {
19       self.document.send.comment.value = "";
20       self.document.send.comment.focus();
21     }
22    }
23   }
24  }
25 }