Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/85.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/firebase/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Jquery circlebar.js:11未捕获类型错误:$(…).find(…).circle不是函数_Jquery_Html_Css_Css Shapes - Fatal编程技术网

Jquery circlebar.js:11未捕获类型错误:$(…).find(…).circle不是函数

Jquery circlebar.js:11未捕获类型错误:$(…).find(…).circle不是函数,jquery,html,css,css-shapes,Jquery,Html,Css,Css Shapes,我试图用jQuery构建一个圆条,但是控制台中显示了一个错误,无法解决。我在谷歌上搜索过,但什么也没发生。有人知道我如何修复这个错误吗?因此,代码不能按代码段运行是正确的。所以请不要否决这个,这是问题的一部分 $(文档).ready(函数($){ 函数animateeelements(){ $('.progressbar')。每个(函数(){ var elementPos=$(this).offset().top; var topOfWindow=$(window.scrollTop(); 变

我试图用jQuery构建一个圆条,但是控制台中显示了一个错误,无法解决。我在谷歌上搜索过,但什么也没发生。有人知道我如何修复这个错误吗?因此,代码不能按代码段运行是正确的。所以请不要否决这个,这是问题的一部分

$(文档).ready(函数($){
函数animateeelements(){
$('.progressbar')。每个(函数(){
var elementPos=$(this).offset().top;
var topOfWindow=$(window.scrollTop();
变量百分比=$(this.find('.circle').attr('data-percent');
var百分比=parseInt(百分比,10)/parseInt(100,10);
var animate=$(this.data('animate');
if(elementPos
.progressbar{
显示:内联块;
宽度:100px;
利润率:25px;
}
.圆圈{
宽度:100%;
保证金:0自动;
边缘顶部:10px;
显示:内联块;
位置:相对位置;
文本对齐:居中;
}
.圆形帆布{
垂直对齐:中间对齐;
}
.圆形分区{
位置:绝对位置;
顶部:30px;
左:0;
宽度:100%;
文本对齐:居中;
线高:40px;
字体大小:20px;
}
.圈强i{
字体风格:普通;
字号:0.6em;
字体大小:正常;
}
.圆跨度{
显示:块;
颜色:#aaa;
边缘顶部:12px;
}

塞德权杖
奎斯克氏

梅塞纳斯

佩伦茨克

苏达莱斯酒店


您似乎只需要通过html包含jquery和circle progress js文件,即

<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="https://cdn.rawgit.com/kottenator/jquery-circle-progress/1.2.0/dist/circle-progress.js"></script>

塞德权杖
奎斯克氏

梅塞纳斯

佩伦茨克

苏达莱斯酒店


您似乎只需要通过html包含jquery和circle progress js文件,即

<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="https://cdn.rawgit.com/kottenator/jquery-circle-progress/1.2.0/dist/circle-progress.js"></script>

塞德权杖
奎斯克氏

梅塞纳斯

佩伦茨克

苏达莱斯酒店