jquery如何控制一个元素的高亮显示
2015-09-04 16:38
746 查看
用jquery.color插件实现功能。
var preColor = $("#current_item").css("color");
$("#current_item").animate({"color":"red"},500);
$("#current_item").animate({"color": preColor},500);
var preColor = $("#current_item").css("color");
$("#current_item").animate({"color":"red"},500);
$("#current_item").animate({"color": preColor},500);
相关文章推荐
- 几个不错的基于jquery的js图片轮播插件
- js或jquery实现页面打印可局部打印
- JQUERY的ajax方法的配置参数
- JQuery学习
- struts2用jquery进行验证码传递以及验证
- jquery $(document).ready() 与window.onload的区别
- jQuery实现带有上下控制按钮的简单多行滚屏效果代码
- [Yii2]yiisoft/yii2 2.0.2 requires bower-asset/jquery 2.1.*@stable | 1.11.*@stable -> no matching package found
- JQuery选择器大全
- jquery实现浮动在网页右下角的彩票开奖公告窗口代码
- 自己写的一个JQUERY焦点图
- jQuery.extend 函数详解
- jQuery对象data函数使用注意事项
- jquery判断checkbox是否选中及改变checkbox状态
- jQuery基础学习6——基本选择器
- jQuery基础学习5——JavaScript方法获取页面中的元素
- jQuery基础学习4——jQuery容错性
- jquery ajax(实现单独提交某个form)
- js&jquery验证邮箱和手机号是否正确范例
- jquery操作select(取值,设置选中)