Mercurial > hg > nodescore
comparison www/m/js/nodescore-client.js @ 26:ac9641ecf84f
updated rasterize and ss2thumb to cycle offsets of grab for different anchors
removed some bad path stuctures
author | tzara <rc-web@kiben.net> |
---|---|
date | Mon, 16 Jul 2012 16:51:55 +0100 |
parents | 22f1c38007ff |
children | ea19684cd1db |
comparison
equal
deleted
inserted
replaced
25:8ac67b784a8c | 26:ac9641ecf84f |
---|---|
109 } | 109 } |
110 } | 110 } |
111 | 111 |
112 function pageTurnB(unit) { | 112 function pageTurnB(unit) { |
113 var units=6; | 113 var units=6; |
114 var section = "seta/" | 114 // var section = "seta/" |
115 var next=(((unit+1)%units)+units)%units | 115 var next=(((unit+1)%units)+units)%units |
116 console.log("HOP TURN" + unit+ "next:" + next); | 116 console.log("HOP TURN" + unit+ "next:" + next); |
117 // $("#live").html($("#unit"+unit).html()); | 117 // $("#live").html($("#unit"+unit).html()); |
118 $("#live").load(section+"music.html #"+unit +" *"); | 118 $("#live").load("music.html #"+unit +" *"); |
119 | 119 $("#preview").html("<img src='thumbs/"+next + ".png" + "'>") |
120 $("#preview").html('<img src=' + section+"img/thumbs/"+next + ".png" + '>'); | 120 // $("#preview").html('<embed src="music.html #"+next + ' width="400px">'); |
121 } | 121 } |
122 | 122 |
123 //////////////////////////////////////////////// | 123 //////////////////////////////////////////////// |
124 | 124 |
125 /* | 125 /* |