Jquery-easyui的默认图标的使用,以及如何添加自己想要的图标
easyui的默认图标有以下这些:
- .icon-blank{
- background:url('icons/blank.gif') no-repeat;
- }
- .icon-add{
- background:url('icons/edit_add.png') no-repeat;
- }
- .icon-edit{
- background:url('icons/pencil.png') no-repeat;
- }
- .icon-remove{
- background:url('icons/edit_remove.png') no-repeat;
- }
- .icon-save{
- background:url('icons/filesave.png') no-repeat;
- }
- .icon-cut{
- background:url('icons/cut.png') no-repeat;
- }
- .icon-ok{
- background:url('icons/ok.png') no-repeat;
- }
- .icon-no{
- background:url('icons/no.png') no-repeat;
- }
- .icon-cancel{
- background:url('icons/cancel.png') no-repeat;
- }
- .icon-reload{
- background:url('icons/reload.png') no-repeat;
- }
- .icon-search{
- background:url('icons/search.png') no-repeat;
- }
- .icon-print{
- background:url('icons/print.png') no-repeat;
- }
- .icon-help{
- background:url('icons/help.png') no-repeat;
- }
- .icon-undo{
- background:url('icons/undo.png') no-repeat;
- }
- .icon-redo{
- background:url('icons/redo.png') no-repeat;
- }
- .icon-back{
- background:url('icons/back.png') no-repeat;
- }
- .icon-sum{
- background:url('icons/sum.png') no-repeat;
- }
- .icon-tip{
- background:url('icons/tip.png') no-repeat;
- }
- .icon-mini-add{
- background:url('icons/mini_add.png') no-repeat 2px 2px;
- }
- .icon-mini-edit{
- background:url('icons/mini_edit.png') no-repeat 2px 2px;
- }
- .icon-mini-refresh{
- background:url('icons/mini_refresh.png') no-repeat 3px 2px;
- }
1.3.
0
版easyui默认图标有这些,下载easyUI的压缩包后,解压后在theme文件夹下的
icons
文件夹是默认的图标,如果你觉得不够用,可以上网下载
16
x
16
大小的图片,放在
icons
文件夹下,然后更改theme文件夹下的
icon
.css
添加以下css代码即可
.icon-你的名称{
background
:
url
(
'icons/图片名称.png'
)
no-repeat
3px
2px
;
}
Jquery-easyui的默认图标的使用,以及如何添加自己想要的图标的更多相关文章
- jquery easyUi 配置默认页码
jquery easyUI用pagenation 属性如果修改其默认加载页面显示,配置该怎样写? 注意区分datagrid的pagenation分页的区别,代码如下. if ($.fn.paginat ...
- jquery easyui datebox 时间控件默认显示当前日期的实现方法
jquery easyui datebox 时间控件默认显示当前日期的实现方法 直接class easyui-datebox后添加一个value="true"就可以
- jquery easyui添加图标扩展
easyui中有很多通过iconCls="icon-reload"这样的属性引入小图标显示,当然我们也可以自己添加自己的小图标. 方式:1.我们可以在jquery easyui的文 ...
- 修改 jquery easyui 表单验证默认的样式
目前对于不符合要求的输入域会在右侧显示一个带箭头的提示,可是如果我的输入框比较靠右的话就显示不全了(虽然会出滚动条,但是由于鼠标移开就消失了,所以还是看不到提示内容)! 能不能把这个提示的位置改变一下 ...
- [转]Spring3 MVC + jQuery easyUI 做的ajax版本用户管理
原文地址:http://www.iteye.com/topic/1081739 上周写了篇基于spring3.0.5 mvc 简单用户管理实例 ( http://www.iteye.com/topic ...
- JQuery EasyUI中datagrid的使用
在学习过程中,可以参照JQuery EasyUI的官方网站学习.地址:http://www.jeasyui.com/demo/main/index.php 在学习JQuery EasyUI中的Data ...
- Jquery easyui tree的使用
这个ui用的一切都是json数据.树也是如此! 后台需要返回与格式匹配的json数据才能正确加载树. 页面定义一个ui: <ul id="messageInfoAddTree" ...
- 【推荐】使用Jquery+EasyUI进行框架项目开发案例讲解之一---员工管理源码分享
使用Jquery+EasyUI 进行框架项目开发案例讲解之一 员工管理源码分享 在开始讲解之前,我们先来看一下什么是Jquery EasyUI?jQuery EasyUI是一组基于jQuery的U ...
- jquery easyui中文培训文档
目 录 1.... Accordion(可折叠标签)... 2 1.1 实例... 2 1.2 参数... 3 2.... DateBox(日期框)... 4 2 ...
随机推荐
- C#中类的实例是不能 获取到类中的静态方法和静态变量(Static)的,及原因
类中的静态方法和变量是共享的.只能用类名去调用.
- LINQ-内部联接
一.简单键联接 下面的示例创建两个集合,其中包含两种用户定义类型 Person 和 Pet 的对象. 查询使用 C# 中的 join 子句将 Person 对象与 Owner 是该 Person 的 ...
- 多重部分和 poj1742
Description People in Silverland use coins.They have coins of value A1,A2,A3...An Silverland dollar. ...
- BZOJ 3569 DZY Loves Chinese II ——线性基
[题目分析] 腊鸡题目卡题面. 大概的意思就是给一张无向图,每次删掉其中一些边,问是否联通. 首先想到的是Bitset,可以做到n^2/64.显然过不了. 然而这是lyd在给我们讲线性基的时候的一道题 ...
- 源码分析 脱壳神器ZjDroid工作原理
0. 神器ZjDroid Xposed框架的另外一个功能就是实现应用的简单脱壳,其实说是Xposed的作用其实也不是,主要是模块编写的好就可以了,主要是利用Xposed的牛逼Hook技术实现的,下面就 ...
- 基于注解的 Spring MVC(上)
什么是Spring MVC Spring MVC框架是一个MVC框架,通过实现Model-View-Controller模式来很好地将数据.业务与展现进行分离.从这样一个角度来说,Spring MVC ...
- CodeForces 303B Rectangle Puzzle II
题意: 给定一个靠着坐标轴长为n,宽为m的矩形和 矩形中的一个点A,求在这个矩形内部一个 长宽比为a/b的小矩形,使这个小矩形的长宽尽量大使点A在小矩形内部,并且点A尽量靠近小矩形的中心 CF的思维题 ...
- 【Codeforces Round #503 (Div. 2)】
A:https://www.cnblogs.com/myx12345/p/9843198.html B:https://www.cnblogs.com/myx12345/p/9843245.html ...
- msp430项目编程51
msp430综合项目---扩展项目一51 1.电路工作原理 2.代码(显示部分) 3.代码(功能实现) 4.项目总结
- 【转】UITableViewCell自适应高度 UILabel自适应高度和自动换行
- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath { ...