“拖放侧边栏模块”是否可以使用 Jquery 和 Ajax(或根本)做到这一点?
我正在尝试创建用户可以从侧边栏拖放到主内容窗口中的模块。这些模块是基本的文本框、视频上传器、扩展。
当您创建镜头时,我非常想做与在 Squidoo 页面上做的完全相同的事情。 唯一的区别是我不希望页面重新加载,并且我希望用户能够拖放。
例如,如果他们想向页面添加一个文本框,那么他们只需将侧边栏上的“文本”文本拖到主内容窗口中,然后他们可以直接从那里进行编辑,然后向上或向下移动该框如果他们愿意的话,可以在主页上。
我一直在到处寻找如何做到这一点,但我从未见过这样做的。有谁知道该怎么做。我真的需要帮助!
I'm trying to create modules that users can drag and drop from the sidebar into the main content window. These modules are basic text boxes, video uploaders, ext.
I pretty much want to do the exact same thing you would do on a Squidoo page when you're creating a lens. The only difference is that I don't want the page to reload, and I want the user to just be able to drag and drop.
For example if they wanted to add a text box to the page, then they would just drag the text that said "text" from the sidebar into the main content window and then they could edit straight from there, and move the box up or down on the main page if they wanted to.
I've been searching everywhere for how to do this, but I've never seen it done this way. Does anybody know how to do this. I could really use the help!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
jQuery Portlet 可能正是您所需要的。
或者,WebDeveloper+ 有一个关于 DIY portlet 的教程。
jQuery Portlets might be just what you need.
Alternatively, WebDeveloper+ has a tutorial on DIY portlets.