在使用easyui时,有个需求,想要弹出一个框,可以选择图标,效果如下:
,实现的时候需要从css中加载以上的图标样式。其中,css样式如下:
.icon-loginpassword{background:url('IconsExtension/icon-password.png') no-repeat center center;}
.icon-loginuser{background:url('IconsExtension/icon-user.png') no-repeat center center;}
.icon-01{background:url('IconsExtension/01.png') no-repeat center center;}
.icon-1012333{background:url('IconsExtension/1012333.png') no-repeat center center;}
.icon-2012080111634{background:url('IconsExtension/2012080111634.png') no-repeat center center;}
.icon-2012080404218{background:url('IconsExtension/2012080404218.png') no-repeat center center;}
.icon