From b7e8800bffee3d4a134444475570f584d76d5c2b Mon Sep 17 00:00:00 2001 From: "Matteo Nastasi (mop)" Date: Mon, 21 Apr 2008 08:44:05 +0000 Subject: [PATCH] changed behavior of ticker --- web/ticker.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/web/ticker.js b/web/ticker.js index 980261d..e4362ff 100644 --- a/web/ticker.js +++ b/web/ticker.js @@ -53,15 +53,17 @@ train.prototype = { deltas: 5, xend: 0, timout: null, + clickable: true, show: function() { + this.clickable = true; this.box.style.visibility = "visible"; }, hide: function() { - this.box.style.visibility = "hidden"; + this.clickable = false; for (cur = this.first ; cur != null ; cur = cur.next) { if (cur.notebox != null) { cur.cb_mouseout(); @@ -361,7 +363,9 @@ wagon.prototype = { cb_click: function() { - act_sitdown(this.table); + if (this.anc.clickable == true) { + act_sitdown(this.table); + } }, cb_mouseover: function() -- 2.17.1