comparison www/m/js/nodescore-client.js @ 21:aaf429469697

startup script and fixes to thumbnail generation paths
author tzara <rc-web@kiben.net>
date Tue, 10 Jul 2012 22:34:11 +0100
parents 9daa1ac0af33
children bb02a593b7d5
comparison
equal deleted inserted replaced
20:9daa1ac0af33 21:aaf429469697
99 console.log("not for this group... ignoring... for group:" + group ); 99 console.log("not for this group... ignoring... for group:" + group );
100 } 100 }
101 } 101 }
102 102
103 function pageTurnB(unit) { 103 function pageTurnB(unit) {
104 var units=6 104 var units=6;
105 105 var section = "seta/"
106 var next=(((unit+1)%units)+units)%units 106 var next=(((unit+1)%units)+units)%units
107 console.log("HOP TURN" + unit+ "next:" + next); 107 console.log("HOP TURN" + unit+ "next:" + next);
108 // $("#live").html($("#unit"+unit).html()); 108 // $("#live").html($("#unit"+unit).html());
109 $("#live").load("seta.html #"+unit +" *"); 109 $("#live").load(section+"music.html #"+unit +" *");
110 110
111 $("#preview").html('<img src=' + "img/thumbs/"+next + ".png" + '>'); 111 $("#preview").html('<img src=' + section+"img/thumbs/"+next + ".png" + '>');
112 } 112 }
113 113
114 //////////////////////////////////////////////// 114 ////////////////////////////////////////////////
115 115
116 /* 116 /*