拖动以显示和隐藏内容 [英] drag to show and hide content

查看:103
本文介绍了拖动以显示和隐藏内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将如何制作可拖动的下拉效果?

How would I go about making a draggable drop down effect?

在屏幕顶部的可见手柄处,单击并按住该手柄并向下拖动以显示其内容.然后,您可以将其再次向上拖动以隐藏内容.

Where you have a visible handle at the top of the screen, you click and hold the handle and drag down to show it's content. THen you can drag it back up again to hide the content.

因此,基本上,我希望有一个带有手柄的div,可以单击并按住以调整div的大小以显示更多内容.

So basically, I would like to have a div, with a handle, which I can click and hold to resize the div to show more content.

推荐答案

http://jqueryui.com/demos/resizable/

这篇关于拖动以显示和隐藏内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆