jQuery UI 右键菜单和需要的一般建议
因此,最近我一直在尝试构建一个几乎完全拖放的用户界面表单生成器。我想有点像 Dreamweaver 或视觉工作室。你们可以自己看看这里! 我正在尝试右键单击菜单,但是在这个工作后,我意识到它确实与可拖动和可调整大小的方法发生冲突。我根本不需要右键单击,但是当我要调整大小或拖动时,它不会让我停止。我的光标在调整大小或拖动时卡住,需要用力点击和摇动才能释放它。所以,我假设我需要一个不同的插件。有谁知道一个无压力的简单右键菜单,希望与 jquery ui 兼容?我尝试过谷歌,但其中大多数只是我已经使用过的版本的不同版本。
我的第二个问题更加模糊。正如我之前提到的,我正在尝试制作一个表单生成器。我想知道解决这个问题的最佳方法是什么,因为我感到有点迷失。我现在最大的问题是弄清楚如何将所有内容解析为代码并将其导出。有谁知道还有其他人尝试过这个或类似的事情吗?有什么指南吗?
我知道第二个问题可能会相当烦人,所以请随意只关注第一个问题。感谢任何帮助,我感谢所有帮助我的人。
编辑:刚刚意识到你们可能不知道如何使用构建器。到目前为止,您所能做的就是将面板拖到建筑空间上,然后将面板拖到面板内。您可以垂直调整建筑空间和面板的大小,也可以垂直和水平调整表格的大小。您可以在其父元素内移动面板和表格。右键单击面板或表格以获取上下文菜单。
编辑:所以我想我找到了一个足够的上下文菜单,就在这里。所以,我想这只会给我关于如何构建这个表单生成器的建议。
So, recently I have been trying to build a user interface form builder that is almost entirely drag and drop. Kind of like Dreamweaver or visual studios I suppose. You guys can see it for yourselves HERE! I am trying to get a right-click menu thing going, however upon getting this working, I realized that it really conflicted with both the draggable and resizable methods. I don't have to right click at all, however when I go to resize or drag, it won't let me stop it. My cursor gets stuck either resizing or dragging, and requires vigorous clicking and shaking to free it. So, I'm assuming that I need a different plugin. Does anybody know of a stress free simple right-click menu that is hopefully compatible with jquery ui? I've tried google but most of them are simply a different version of the one I've already been using.
My second question is much more vague. As I previously mentioned, I'm trying to make a form builder. I'm wondering what the best way to go about this is as I feel sort of lost. My biggest problems right now are figuring out how I'm going to parse everything into code and export it. Does anybody know of anyone else who has attempted this or something similar? Is there any sort of guide?
I know the second questions has potential to be rather annoying, so feel free to only focus on the first one. Any help is appreciated, and I thank everybody who helps me.
EDIT: Just realized that you guys may not know how to use the builder. So far, all you can do is drag panels out onto the building space, and then drag tables within the panels. You can resize the building space, and panels vertically, and you can resize tables both vertically and horizontally. You can move panels and tables within their parent elements. Right click a panel or table for the contextmenu.
EDIT: So I think I found a context menu that will suffice, here it is. So, I guess that only leaves giving me advice on how to go about constructing this form builder.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论