向jQuery简易用户界面添加新图标
我想向我的jquery easy UI添加新图标,但我在ribbon-icon.css中创建了一个新类,并将该类放在数据选项上,但不起作用。 我的代码有什么问题? html中的代码:向jQuery简易用户界面添加新图标,jquery,css,icons,jquery-easyui,Jquery,Css,Icons,Jquery Easyui,我想向我的jquery easy UI添加新图标,但我在ribbon-icon.css中创建了一个新类,并将该类放在数据选项上,但不起作用。 我的代码有什么问题? html中的代码: <a href="#" class="easyui-linkbutton" data-options="name:'concurso', iconCls:'icon-concurso-large', iconAlign:'top',size:'large', plain:'true'">Concurs
<a href="#" class="easyui-linkbutton" data-options="name:'concurso', iconCls:'icon-concurso-large', iconAlign:'top',size:'large', plain:'true'">Concurso</a>
如果它为某人服务,在css中声明类之前不要发表评论 我在寻找其他东西时偶然发现了这一点,但对于未来的谷歌用户来说 将下载的图标放入
jqueryui/themes/icons/
。(我使用来自的16x16图标)
将您的类定义添加到
jqueryui/themes/icon.css
我知道这是一个老问题,但正如前面提到的——“面向未来的谷歌用户”:
.icon-warning {
background: transparent url("../img/warning.png") no-repeat scroll center center;
}
.icon-warning {
background: transparent url("../img/warning.png") no-repeat scroll center center;
}