[英]Jquery Knob not working in IE 8
我在我的网站上使用jquery旋钮。 它在mozilla,crome和safari中运行良好。 但是没有在ie8工作。 这是我的结果:(。
<script type="text/javascript">
$(function(){
$(".dial").knob({
readOnly: true,
fgColor: "#00ABC6",
bgColor: "#666666",
thickness: 0.25,
width:50,
height:50,
});
});
</script>
谢谢。
jQuery Knob使用canvas和Internet Explorer 8不支持canvas元素。 http://caniuse.com/#search=canvas 。
编辑:您可以尝试为IE8添加polyfill, https://github.com/Modernizr/Modernizr/wiki/HTML5-Cross-Browser-Polyfills#canvas 。 但我不知道它们中的任何一个是否与jQuery旋钮兼容。
编辑2: http : //code.google.com/p/explorercanvas/可能会执行tric, Jquery Knob无法在IE 8中运行。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.