首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > CSS >

dhtmlxTree 施用示例

2012-12-27 
dhtmlxTree 使用示例!--[endif]--?src?idouther?width120px?panelWidth120????????MenuI

dhtmlxTree 使用示例

<!--[endif]-->"?src=""?id="outher"?width="120px"?panelWidth="120">
????????<MenuItem?name="Yellow"?src="./images/yellow.gif"??id="edit_Yellow"/>????
????????<MenuItem?name="White"?src="./images/white.gif"??id="edit_White"/>????
????</MenuItem>
</menu>
注:dhtmlxTree 标准版不支持菜单功能,所以需要对dhtmlxtree.js做些修改,在脚本的最后面加上如下方法:
<!--[if !supportLineBreakNewLine]-->
<!--[endif]-->

dhtmlXTreeObject.prototype.enableContextMenu=function(menu)
{
????if(menu)????this.cMenu=menu
};

热点排行
Bad Request.