Home > Web Front-end > HTML Tutorial > 求教高手,我想做一个拖动效果,把图拖入右侧的窗口,但是拖不回来了_html/css_WEB-ITnose

求教高手,我想做一个拖动效果,把图拖入右侧的窗口,但是拖不回来了_html/css_WEB-ITnose

WBOY
Release: 2016-06-21 08:56:56
Original
1169 people have browsed it

我想组合两个拖动的效果,现在把左边的内容可以拖到右边,但是右边的内容没办法拖回来,到左边边界就看不见了,麻烦大侠帮我看看是怎么回事,谢谢啦



http://pan.baidu.com/s/1eQZNUTG


回复讨论(解决方案)

关于拖动的,直接使用jQ的插件,很方便,或看html5的api。

.drop-area 样式
去掉以下两个。
overflow-y: auto;
overflow-x: hidden;

去掉样式果然有用,但是右侧不能滚动了,有的必有失啊,,谢谢大侠啦

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template