HTML5 Drag and Drop - prevent drop for one item -


i looking @ html5 demo of bin 'eats' in list . want modify 'eat' of items , others rejected.

the code here: http://html5demos.com/drag

this code works in ie requirement. tips appreciated.

being impatient found way this..

<ul> <li><a draggable="true" id="one" href="#">one</a></li> <li><a draggable="true" href="#" id="three">two</a></li> <a draggable="true" href="#" id="trick">trick</a> <li><a draggable="true" href="#" id="four">four</a></li> <a draggable="true" href="#" id="five">five</a> </ul>

the solution realise add tag within list. had style tag same list item. if person tries drag trick item doesn't disappear list , bin doesn't provide text response.


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -