removed cards_hidetake(win) dumb function
[brisk.git] / web / dnd.js
index 070a1c5..312b604 100644 (file)
@@ -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<br>"; 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);
-  }
-  }
-*/