博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
解决jquery组件样式冲突 jPicker实例
阅读量:7253 次
发布时间:2019-06-29

本文共 1063 字,大约阅读时间需要 3 分钟。

1  jQuery(function ($) { // 屏蔽jPicker和bootstrap样式冲突 2         $.fn.jPicker.defaults.images.clientPath = 'components/jpicker/images/'; //设置颜色选择器组件的图片的默认路径 3         $('#color').jPicker({ 4             window: { 5               expandable: true, 6               position: { 7                 x: 'screenCenter', 8                 /* acceptable values "left", "center", "right", "screenCenter", or relative px value */ 9                 y: 'bottom'10               },11             }12           },13           function (color, context) {14             var all = color.val('all');15             // alert('Color chosen - hex: ' + (all && '#' + all.hex || 'none') + ' - alpha: ' + (all && all.a + '%' || 'none'));16             // console.log($.jPicker.List[0].color.active.val('ahex'));17             console.log($.jPicker.List[0].color.active.val('hex'));18             console.log(all.hex);19             console.log(aliveChart.chart.series);20           })21       })22     .23     .24     .25     .26     others

 

转载于:https://www.cnblogs.com/keepLeung/p/9287711.html

你可能感兴趣的文章
由文档那些事儿引发的思考 - 领导,您该反思了
查看>>
手握6亿把钥匙 能否打开“智能家居”的大门?
查看>>
从JS对象开始,谈一谈“不可变数据”和函数式编程
查看>>
STL标准容器类简介
查看>>
Linux下Oracle 10.2.0.1升级到10.2.0.4总结
查看>>
Revit二次开发示例:DeleteDimensions
查看>>
【英语】英语学习之道
查看>>
轻量级UIImageView分类缓存 库 AsyncImageView 使用
查看>>
ASP.NET MVC:Cookie 的过期时间在服务器端是获取不到的
查看>>
Debian中编译内核
查看>>
vs2013编译boost1.55.0 32/64位
查看>>
ASP.NET MVC应用程序展示RDLC报表
查看>>
jquery 导航栏目
查看>>
位操作:BitVector32结构 z
查看>>
初学java之菜单条,菜单,菜单项的设置
查看>>
Java 集合
查看>>
Sql Server 2008R2版本中有关外键Foreign的使用
查看>>
mysqldump导入导出mysql数据库
查看>>
js小记 function 的 length 属性
查看>>
jQuery 遍历函数
查看>>