No al cierre de webs
ShareCode
Permalink: http://www.treeweb.es/u/974/ 01/02/2011

ShareCode

1 <div id="columns">2  <div class="column" draggable="true"><header>A</header></div>3  <div class="column" draggable="true"><header>B</header></div>4  <div class="column" draggable="true"><header>C</header></div>5 </div>6 7 8 <script type="text/javascript">9 var cols = document.querySelectorAll('#columns .column');10 [].forEach.call(cols, function(col) {11  col.addEventListener('dragstart', handleDragStart, false);12 });13 14 var cols = document.querySelectorAll('#columns .column');15 [].forEach.call(cols, function(col) {16  col.addEventListener('dragstart', handleDragStart, false);17  col.addEventListener('dragenter', handleDragEnter, false);18  col.addEventListener('dragover', handleDragOver, false);19  col.addEventListener('dragleave', handleDragLeave, false);20 });21 </script>
Enlace
El enlace para compartir es:

Powered by TreeWeb
© TreeWeb 2010. Todos los derechos reservados