单页上的两个可拖动不起作用 [英] two draggable on single page not working
本文介绍了单页上的两个可拖动不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
见下面链接http://liveweave.com/qddUaX
单页上有两个可拖动的问题,最后一个工作,我想从两个拖动图像两侧到一个公共画布的区域,
see below link http://liveweave.com/qddUaX
problem with two draggable on single page , last one works, i want to drag images from two areas on both side to one common canvas,
推荐答案
ID不应该在HTML页面上重复。
您在HTML中复制了IDimage-list。那样不行。 ID必须在文档中是唯一的。
ID should never be repeated on a HTML page.
You duplicated an ID "image-list" in your HTML. That will not work. IDs need to be unique within a document.
这篇关于单页上的两个可拖动不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文