摘要: 《html5拖拽》 1、给元素设置 draggable="true" 属性,这个元素就可以被拖拽了 《拖拽元素事件》 2、ondragstart 拖拽前触发得得事件 例:div1.ondragstart=function(){ //拖拽前 div1.style.background="blue"; 阅读全文
posted @ 2017-07-01 16:49 谁是李慧 阅读(1535) 评论(0) 推荐(0) 编辑