Dragging objects out of an IFrame

情到浓时终转凉″ 提交于 2019-12-04 10:27:54

Check this interesting implementation, it was done using PrototypeJS and Scriptaculous

I find this workaround interesting since it actually uses two iframes that contain LI items, and you can drag and drop between the iframes.

That is not possible as far as I know. The way iframes are implemented in browsers that would be like dragging and dropping page elements from one window to another.

I believe it is possible in HTML5, but it's not widely implemented yet, and it's only a draft. You can google for some information on it, or play around with a demo I found. You should be able to rewrite it to work with iframes.

Demo

Specifications

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!