Changeset 650
- Timestamp:
- 03/30/06 13:19:36 (3 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
mochikit/branches/scriptaculous/examples/simple_dnd/dnd_boxes.html
r618 r650 37 37 new MochiKit.DragAndDrop.Draggable('revertbox2',{handle:'handle2',revert:function(element){return ($('shouldrevert2').checked)}}); 38 38 new MochiKit.DragAndDrop.Droppable('droptarget1',{accept:['box1','otherstuff'],ondrop:function(){alert('drop!')}}); 39 new MochiKit.DragAndDrop.Droppable('droptarget2',{accept: 'box',ondrop:function(){alert('drop!')}});39 new MochiKit.DragAndDrop.Droppable('droptarget2',{accept:['box'],ondrop:function(){alert('drop!')}}); 40 40 // ]]> 41 41 </script>
