how to customise dynatree image?

心不动则不痛 提交于 2019-12-11 15:14:09

问题


I am using jquery dynatree plugin.(http://wwwendt.de/tech/dynatree/doc/samples.html) I am using its vista theme,I want instead of small triangle on the left(node expander symbol) of each folder,my custom image (a plus ) symbol to come. More over I want to remove folder image and no image should be used in place of folder image.. is it possible?


回答1:


You could edit the image used in the CSS file for the images. We replaced the folder icons with nicer looking ones, and the tree lines to windows 7 style arrows indicating whether the tree was expanded or not.

The image we edited was icons.gif.

Just make sure you align the replacement images in the same place to avoid changing all the background positions in the css file.



来源:https://stackoverflow.com/questions/10447483/how-to-customise-dynatree-image

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!