projects
/
brisk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
statadm.php: use different time limits when in development mode
[brisk.git]
/
web
/
ticker.js
diff --git
a/web/ticker.js
b/web/ticker.js
index
0bc767e
..
f43ae90
100644
(file)
--- a/
web/ticker.js
+++ b/
web/ticker.js
@@
-1,7
+1,7
@@
/*
* brisk - ticker.js
*
/*
* brisk - ticker.js
*
- * Copyright (C) 2006-201
1
Matteo Nastasi
+ * Copyright (C) 2006-201
2
Matteo Nastasi
* mailto: nastasi@alternativeoutput.it
* matteo.nastasi@milug.org
* web: http://www.alternativeoutput.it
* mailto: nastasi@alternativeoutput.it
* matteo.nastasi@milug.org
* web: http://www.alternativeoutput.it
@@
-51,7
+51,7
@@
train.prototype = {
deltas: 10,
xend: 0,
timout: null,
deltas: 10,
xend: 0,
timout: null,
- clickable:
tru
e,
+ clickable:
fals
e,
show: function()
{
show: function()
{
@@
-60,6
+60,9
@@
train.prototype = {
this.clickable = true;
this.box.style.visibility = "visible";
this.clickable = true;
this.box.style.visibility = "visible";
+ for (cur = this.first ; cur != null ; cur = cur.next) {
+ cur.box.style.borderColor = "green green green green";
+ }
},
hide: function()
},
hide: function()
@@
-68,10
+71,13
@@
train.prototype = {
$('tickbut').style.width = "20px";
this.clickable = false;
$('tickbut').style.width = "20px";
this.clickable = false;
+ this.box.style.visibility = "visible";
+
for (cur = this.first ; cur != null ; cur = cur.next) {
if (cur.notebox != null) {
cur.cb_mouseout();
}
for (cur = this.first ; cur != null ; cur = cur.next) {
if (cur.notebox != null) {
cur.cb_mouseout();
}
+ cur.box.style.borderColor = "gray gray gray gray";
}
},
}
},
@@
-265,7
+271,6
@@
train.prototype = {
resetx: function()
{
this.deltas = 10;
resetx: function()
{
this.deltas = 10;
- this.clickable = true;
this.box.style.left = this.anc.offsetWidth+"px";
},
this.box.style.left = this.anc.offsetWidth+"px";
},
@@
-327,6
+332,8
@@
function wagon(anc, table, title) {
box = document.createElement("div");
box.className = "wagon";
box.anc = this;
box = document.createElement("div");
box.className = "wagon";
box.anc = this;
+ if (anc.clickable == false)
+ box.style.borderColor = "gray gray gray gray";
this.table = table;
this.title = title;
box.innerHTML = "Tavolo "+table;
this.table = table;
this.title = title;
box.innerHTML = "Tavolo "+table;