]> mop.ddnsfree.com - git repositories - brisk.git/commitdiff
tickbut: show/hide tickbut obj
authorMatteo Nastasi (mop) <nastasi@alternativeoutput.it>
Sun, 4 May 2008 15:30:29 +0000 (15:30 +0000)
committerMatteo Nastasi (mop) <nastasi@alternativeoutput.it>
Sun, 4 May 2008 15:30:29 +0000 (15:30 +0000)
web/ticker.js

index 8c73c1ae6fa0c2ef120a7e7ecfd3005de4765fed..c2c8808250589bc36c0644f26df4c2996f9aa53f 100644 (file)
@@ -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) {