是否有任何 jquery 脚本可以进行 Deviantart 风格的拖放操作?

发布于 2024-09-18 01:35:25 字数 410 浏览 1 评论 0原文

Deviantart 内置的收藏系统给我留下了深刻的印象。我会链接到一个演示,但你必须登录 deviantart 才能看到它。所以我会描述它。

基本上它是一个 div 或隐藏在页面顶部的东西。当您抓取一张图片(缩略图或全尺寸)并将其拖向屏幕顶部时,会出现 div 并向下滑动,其中包含文件夹列表。文件夹是水平的(从左到右)。您只需将图片放入其中一个文件夹中,它就会收藏它并同时组织它。它甚至将缩略图堆叠在一起,全部分散,看起来就像一叠纸。您还可以点击最右侧的 + 添加其他收藏夹文件夹。

它非常灵活,是一种很棒的方式,可以让用户同时在网站上进行收藏和组织。

我正在寻找这样的东西。所以我想知道 jquery 世界中是否有类似的东西。或者我如何使用现有的 jquery 脚本来实现这一点。

请记住,我根本没有 JavaScript 或编程知识。

I'm incredibly impressed by the favoriting system built into Deviantart. I'd link to a demo but you have to be logged into deviantart to see it. So I'll describe it.

Basically it's a div or something that exists at the top of the page hidden. When you grab a picture (thumbnail or full size) and drag it toward the top of the screen, the div apears and slides down with a list of folders in it. The folders are horizontal (left to right). You just drop the picture in one of the folders and it favorites it and organizes it at the same time. It even stacks the thumbnails on top of each other all scattered looking like a stack of papers. You can also hit the + at the far right to add additional favorites folders.

It's very slick and an awesome way for allowing users to favorite and organize on a website at the same time.

I'm looking for something just like this. So I was wondering if there is something in the jquery world that is similar. Or how I could pull this off with existing jquery scripts.

Keep in mind I have no javascript or programming knowledge at all.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

装迷糊 2024-09-25 01:35:25

Jquery UI 的可拖放功能将成为标准,但它需要一些 JavaScript 编程。

信息和示例

Jquery UI's draggable and droppable functionality would be the standard, but it will require some javascript programming.

Info and examples

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文