我非常努力地改变了 farbtastic 颜色选择器的宽度和高度,但没有成功...... JS 不是我的语言
有人可以帮我吗
我在http://liveweave.com html-online-editor上尝试了所有可能的解决方案
<!DOCTYPE html>
<html>
<head>
<title>HTML5, CSS3 and JavaScript demo</title>
<script type='text/javascript' src='https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.js'></script>
<script type='text/javascript' src='http://gilbertsincobh.com/wp-content/plugins/revslider/js/farbtastic/farbtastic.js'></script>
<link rel='stylesheet' href='http://gilbertsincobh.com/wp-content/plugins/revslider/js/farbtastic/farbtastic.css' type='text/css' />
<script type='text/javascript'>
$(document).ready(function(){
$('#demo').hide();
$('#picker').farbtastic('#color');
$.farbtastic("#picker", {callback: pickerUpdate, width: 600, height: 600});
function pickerUpdate(color){console.log("Color Picker Wheel: " + color);
}
);
</script>
</head>
<body>
<div id="picker"></div>
</body>
</html>