X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Fdnd.js;h=312b604bf9dcc1707006a789841d4307d1fbc9ef;hb=b804ca474cbf9e02703043b2d6e41cf52c9889ed;hp=070a1c529948ecd811ded511169d41ee5691ddaf;hpb=52ae2014e0580ecb6713b8fec386a12cabf9b417;p=brisk.git diff --git a/web/dnd.js b/web/dnd.js index 070a1c5..312b604 100644 --- a/web/dnd.js +++ b/web/dnd.js @@ -16,6 +16,8 @@ * not, write to the Free Software Foundation, Inc, 59 Temple Place - * Suite 330, Boston, MA 02111-1307, USA. * + * $Id$ + * */ var PLAYERS_N = 3; @@ -375,7 +377,7 @@ function card_mouseup_cb(o) { for (i = 0 ; i < cards_n ; i++) { if (cards_pos[i] == idx) { - $("sandbox").innerHTML = "Pippo: "+ i; + /* $("sandbox").innerHTML = "Pippo: "+ i; */ for (e = i ; e < cards_n-1 ; e++) { cards_pos[e] = cards_pos[e+1]; } @@ -856,42 +858,3 @@ function cards_take(win) movimg.start(gst); } } - -function cards_hidetake(win) -{ - - - - -} -/* - window.onload = function() { - $("log").innerHTML += " xxxxxxxxxxxxxxxxxxxxxONLOAD
"; 53; - - - // $("imm2").style.left = 600; - // $("imm2").style.top = 400; - var zigu = new slowimg($("imm"),300,100,15,"fin"); - zigu.settime(1000); - zigu.start(); - // setTimeout(function() { alert("FIN:" + fin); }, 5000); - } -*/ - - - -/* - window.onload = function() { - // - var greet = document.createElement("span"); - greet.style.backgroundColor = "yellow"; - greet.innerHTML = "Hello World!"; - $("sandbox").appendChild(greet); - // - cards_dispose_so(); - - for (i=0 ; i < 8 ; i++) { - Drag.init($("card" + i), card_mouseup_cb); - } - } -*/