X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Fticker.js;h=8c057bbdd92b8351edea6baa7db5901c5bdea905;hb=c96ea8bcfeea99ab6c21cc4773ed2e550b3155d9;hp=fe8a096116fadf0bb2246498ce6739937317c218;hpb=ba124be15839e2a62fa793b70869e0209f8daf90;p=brisk.git diff --git a/web/ticker.js b/web/ticker.js index fe8a096..8c057bb 100644 --- a/web/ticker.js +++ b/web/ticker.js @@ -78,6 +78,24 @@ train.prototype = { }, + hide_noauth: function() + { + for (cur = this.first ; cur != null ; cur = cur.next) { + if (cur.table >= g_tables_auth_n) { + cur.hide(); + } + } + }, + + show_noauth: function() + { + for (cur = this.first ; cur != null ; cur = cur.next) { + if (cur.table >= g_tables_auth_n) { + cur.show(); + } + } + }, + add: function(table, title) { var last, wag, curx; @@ -321,6 +339,10 @@ function wagon(anc, table, title) { addEvent(this.box, "mouseout", function() { this.anc.cb_mouseout(); } ); addEvent(this.box, "click", function() { this.anc.cb_click(); } ); + + if (g_listen & l_list_isol && table >= g_tables_auth_n) { + this.box.style.visibility = "hidden"; + } this.anc.box.appendChild(box); this.w = this.widthbox_get(); @@ -338,6 +360,17 @@ wagon.prototype = { box: null, shut_step: 0, + show: function() + { + this.box.style.visibility = "visible"; + }, + + hide: function() + { + this.box.style.visibility = "hidden"; + }, + + width_get: function() { return (this.w);