From: Matteo Nastasi (mop) Date: Sun, 4 May 2008 15:30:29 +0000 (+0000) Subject: tickbut: show/hide tickbut obj X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=commitdiff_plain;h=93a49a9f99e52c693a3f06f6edbe27f9f1ef7c68;p=brisk.git tickbut: show/hide tickbut obj --- diff --git a/web/ticker.js b/web/ticker.js index 8c73c1a..c2c8808 100644 --- a/web/ticker.js +++ b/web/ticker.js @@ -57,12 +57,18 @@ train.prototype = { show: function() { + $('tickbut').style.visibility = "hidden"; + $('tickbut').style.width = "0px"; + this.clickable = true; this.box.style.visibility = "visible"; }, hide: function() { + $('tickbut').style.visibility = "visible"; + $('tickbut').style.width = "20px"; + this.clickable = false; for (cur = this.first ; cur != null ; cur = cur.next) { if (cur.notebox != null) {