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 8c73c1a..c2c8808 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) {