X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Fdnd.js;h=f5417917d03c4e55ddc20b047da377085abd9f94;hb=b6f0a6c9e388dc30cef1f12df3081881b90a6acd;hp=070a1c529948ecd811ded511169d41ee5691ddaf;hpb=52ae2014e0580ecb6713b8fec386a12cabf9b417;p=brisk.git diff --git a/web/dnd.js b/web/dnd.js index 070a1c5..f541791 100644 --- a/web/dnd.js +++ b/web/dnd.js @@ -1,7 +1,10 @@ /* * brisk - dnd.js * - * Copyright (C) 2006 matteo.nastasi@milug.org + * Copyright (C) 2006-2008 Matteo Nastasi + * mailto: nastasi@alternativeoutput.it + * matteo.nastasi@milug.org + * web: http://www.alternativeoutput.it * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -16,6 +19,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 +380,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]; } @@ -518,10 +523,6 @@ function card_play_so(card_idx, x, y) { alert("card_play_so: unreachable function."); } -function card_play_ne(card_idx, x, y) -{ - // alert("card_play_nw: card_pos="+ card_pos+" card_idx="+card_idx+" x="+x+" y="+y); -} /* CARD_PLAY_EA */ function card_postplay_ea(card_pos) @@ -856,42 +857,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); - } - } -*/