81,092
社区成员
发帖
与我相关
我的任务
分享
$('#nav').accordion('add', {
title: n.text,
content: menulist,
border:false,
iconCls: 'icon icon-add'
});
$('#nav').accordion('add', {
title: n.text,
content: menulist,
border:false,
iconCls: '<img src="images/icon2.png"/>'
});
.icon-add{
background:url('icons/edit_add.png') no-repeat center center;
}
iconCls属性是在icon.css里面找的。