From 93a49a9f99e52c693a3f06f6edbe27f9f1ef7c68 Mon Sep 17 00:00:00 2001 From: "Matteo Nastasi (mop)" Date: Sun, 4 May 2008 15:30:29 +0000 Subject: [PATCH] tickbut: show/hide tickbut obj --- web/ticker.js | 6 ++++++ 1 file changed, 6 insertions(+) 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) { -- 2.17.1