I want to embed jquery-ui icons in the jquery dynatree plugin.

http://jquery-ui.googlecode.com/svn/tags/1.6rc5/tests/static/icons.html

There is an icons.gif based solution here. how to customise dynatree image?

But can I use jquery-ui icons?

有帮助吗?

解决方案

The successor of Dynatree (Fancytree) allows this:

<li data-iconclass="ui-icon ui-icon-heart">'iconclass' is directly added to the image &lt;span>, so jQuery stock icons may be used

See here for a demo

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top