Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/70.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 我的手风琴滑块在Firefox中堆叠图像,但在Chrome和IE中工作良好_Jquery - Fatal编程技术网

Jquery 我的手风琴滑块在Firefox中堆叠图像,但在Chrome和IE中工作良好

Jquery 我的手风琴滑块在Firefox中堆叠图像,但在Chrome和IE中工作良好,jquery,Jquery,这是我的网站: 滑块在Chrome和IE中运行良好,但在Firefox和Safari中刷新后,图像堆叠没有文本 请帮帮我。这几天一直困扰着我,我很想把它修好 有什么想法吗?您在Firefox中出现JavaScript错误: 从错误控制台: 时间戳:12/10/2012 14:29:42 错误:TypeError:jQuery(“.sf菜单”)。mobileMenu不是一个函数 源文件: 行:342 你应该考虑使用Fixbug或谷歌开发工具。以下是您的站点生成的html错误: carouFred

这是我的网站:

滑块在Chrome和IE中运行良好,但在Firefox和Safari中刷新后,图像堆叠没有文本

请帮帮我。这几天一直困扰着我,我很想把它修好


有什么想法吗?

您在Firefox中出现JavaScript错误:

从错误控制台:

时间戳:12/10/2012 14:29:42 错误:TypeError:jQuery(“.sf菜单”)。mobileMenu不是一个函数 源文件:
行:342

你应该考虑使用Fixbug或谷歌开发工具。以下是您的站点生成的html错误:

carouFredSel: No element found for "#portfolio-scroll".
carouFredSel: No element found for "ul.widget-carousel".
Failed to load resource: the server responded with a status of 404 (Not Found)   http://www.blueridgelibertyproject.com/img/arrows-ffffff.png
carouFredSel: No element found for "#images".
carouFredSel: No element found for "#thumbs".
carouFredSel: No element found for "ul.blog-gallery".

将代码初始化发布到div下面:

例如:

<!-- first the images for the slider -->
<div id="slide">
<img src="/headslide2.jpg" alt="headslide2" />
<img src="/headslide.jpg" alt="headslide" />
</div>
<!-- next the slide init -->
<script>
jQuery('#slide').carouFredSel({});
</script>

jQuery(“#slide”).carouFredSel({});

我刚刚在FF14和Safari 6.0中检查了它,没有发现任何问题。你能发布一些你尝试过的代码示例吗?试着将slideClass:“slider”更改为slideClass:“slider”。。看看这是否奏效……试过了,还是一样的(#slider)在第一次刷新堆栈时加载良好。同样,只有在firefox中。chrome和ie都能正常工作我迷路了…你有没有做任何更改,因为在多次刷新之后,firefox对我来说突然工作正常&我什么都没做,我只是想在firebug中调试它…你在使用哪个版本?谢谢。我删除了它,看看它是否对我所遇到的问题产生了影响,它是完全一样的。在初始加载时加载精细,然后在刷新时堆叠图片