Mercurial > hg > nodescore
comparison www/martin/js/nodescore-slides.js @ 79:e4db7d4d1d08
major UI fixes for martin version interface
author | Rob Canning <rob@foo.net> |
---|---|
date | Tue, 15 Jul 2014 23:49:44 +0100 |
parents | b7f9ade92165 |
children |
comparison
equal
deleted
inserted
replaced
78:0bcba76683f2 | 79:e4db7d4d1d08 |
---|---|
44 // countdown to change | 44 // countdown to change |
45 socket.on("countinFromServer", countinClient); | 45 socket.on("countinFromServer", countinClient); |
46 function countinClient(groupID, currentseconds,mm,text,colour,background,unit){ | 46 function countinClient(groupID, currentseconds,mm,text,colour,background,unit){ |
47 var groupPage=document.getElementById('group').value | 47 var groupPage=document.getElementById('group').value |
48 if (groupID == groupPage) { | 48 if (groupID == groupPage) { |
49 $("#counttitle").css('color','white'); | 49 $("#counttitle").css('color','black'); |
50 $("#counttitle").text(text); | 50 $("#counttitle").text(text); |
51 $("#count").text(currentseconds); | 51 $("#count").text(currentseconds); |
52 document.getElementById("count").style.color=colour; | 52 document.getElementById("count").style.color=colour; |
53 }} | 53 }} |
54 | 54 |