From: Matteo Nastasi (mop) Date: Mon, 21 Apr 2008 08:44:05 +0000 (+0000) Subject: changed behavior of ticker X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=commitdiff_plain;h=b7e8800bffee3d4a134444475570f584d76d5c2b;p=brisk.git changed behavior of ticker --- 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()