diff 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
line wrap: on
line diff
--- a/www/m/js/nodescore-client.js	Tue Jul 10 14:16:12 2012 +0100
+++ b/www/m/js/nodescore-client.js	Tue Jul 10 22:34:11 2012 +0100
@@ -101,14 +101,14 @@
 }
 
 function pageTurnB(unit) {
-    var units=6
-    
+    var units=6;
+    var section = "seta/"
     var next=(((unit+1)%units)+units)%units
     console.log("HOP TURN" + unit+ "next:" + next);
 //    $("#live").html($("#unit"+unit).html());
-    $("#live").load("seta.html #"+unit +" *");
+    $("#live").load(section+"music.html #"+unit +" *");
  
-    $("#preview").html('<img src=' + "img/thumbs/"+next + ".png" + '>');
+    $("#preview").html('<img src=' + section+"img/thumbs/"+next + ".png" + '>');
 }
 
 ////////////////////////////////////////////////