本文介绍了使用jquery创建一个在线网页设计器,这很难吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用jquery创建一个在线网页编辑器.

I want to create an online web page editor using jquery.

这种功能有多复杂? (是的,我知道很难回答这个问题)

How complicated is this type of feature? (yes I know its hard to answer this)

据我所知,您只是引用页面上的各种元素,并且当用户在颜色图中选择一种颜色时,您只需在页面上循环查找与一组特定ID或类匹配的元素,然后修改它们.

From what I can tell, you are simply referencing the various elements on the page and when a user selects a color in a colormap, you simply then cycle through the elements on the page that match a particular set of id's or classes and modify them.

我还需要使用jQuery live,因为将添加/删除DOM中的新元素.

I would also need to use jQuery live as new elements in the DOM will be added/removed.

我使它变得比它容易吗?

Am I making it easier than it is?

推荐答案

您可以尝试弄清楚jqueryui主题滚轮小书签的工作方式: http://jqueryui.com/themeroller/developertool/

You can try to figure out how jqueryui theme roller bookmarklet works:http://jqueryui.com/themeroller/developertool/

这篇关于使用jquery创建一个在线网页设计器,这很难吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-29 23:15