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文件夹是默认的图标,如果你觉得不够用,可以上网下载16x16大小的图片,放在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 ...
随机推荐
- 爆炸几何之 CCPC网络赛 I - The Designer (笛卡尔定理)
本文版权归BobHuang和博客园共有,不得转载.如想转载,请联系作者,并注明出处. Nowadays, little hahahaha got a problem from his teache ...
- shell的if-else的基本用法
if 语句通过关系运算符判断表达式的真假来决定执行哪个分支.Shell 有三种 if ... else 语句: if ... fi 语句: if ... else ... fi 语句: if ... ...
- iOS视频录制,裁剪(输出指定大小)
弄了几天,终于搞懂一点了,博客后面再写,先附上demo,等研究清楚再写 demo地址:http://pan.baidu.com/s/1o6w2CMu
- 【字符串】BNUOJ 52781 Book Borders
https://www.bnuoj.com/v3/problem_show.php?pid=52781 [AC] #include<bits/stdc++.h> using namespa ...
- hdu 4819 Mosaic 树套树 模板
The God of sheep decides to pixelate some pictures (i.e., change them into pictures with mosaic). He ...
- 使用反射获取类中的属性(可用于动态返回PO类的列,当做表格的表头)
//利用反射取类中的属性字段 try { Class clazz = Class.forName("houji.bean.model.TaskModel"); Field[] fi ...
- net8:简易的文件磁盘管理操作二(包括文件以及文件夹的编辑创建删除移动拷贝重命名等)
原文发布时间为:2008-08-07 -- 来源于本人的百度文章 [由搬家工具导入] using System;using System.Data;using System.Configuration ...
- C/C++怎样传递二维数组,转载自CSDN
用二维数组作为参数传递(用二维数组处理矩阵),但是希望接受传递二维数组参数的函数可以处理任意维度的数组(希望矩阵的行数和列数都是不固定的). [以下转帖] ---------------------- ...
- Linux系统下rz/sz工具的安装
(1)编译安装 root 账号登陆后,依次执行以下命令: wget http://www.ohse.de/uwe/releases/lrzsz-0.12.20.tar.gz tar zxvf lrzs ...
- js Math [ 随机数、绝对值、四舍五入、进一取整、舍去取整、最大值、最小值、圆周率 ]
<script> /* 数学对象:Math */ with (document) { write('<br>-3.5的绝对值:'+Math.abs(-3.5)); write( ...