问题描述
我在开发我们的客户单页字preSS网站。在,我在标题部分和其他一些jQuery插件使用flexslider。全部都是工作到今日早盘但现在我发现flexslider停止工作。
结果我无法找出原因。
请帮助我今天提出这个项目我解决这个问题。
I'm developing a single page wordpress website for our client. In that i have used flexslider in header section and some other jquery plugins. All of them were working till today morning but now I found that the flexslider stopped working.
I'm not able to find out the reason.Please help me to solve this issue as I have to submit this project today.
上找到Firebug的控制台错误:
类型错误:$(...)flexslider不是一个函数
结果动画:幻灯片
结果 - /演示/网站/(34行)
Error Found on Firebug Console:TypeError: $(...).flexslider is not a function
animation: "slide"
- /Demo/website/ (line 34)
结果如何解决这个问题?任何帮助将AP preciated ..
How can i fix this? Any help will be appreciated..
在此先感谢..
推荐答案
该jquery.flexslider.js没有加载。尝试从删除延迟
关键字或添加类型=文/ JavaScript的
键,看看它是否工作。您当前的源:
The jquery.flexslider.js is not loading. Try removing the defer
keyword from or add type="text/javascript"
and see if it works. Your current source:
<script defer src="http://www.yourwebsite.com/Demo/allabout/wp-content/themes/twentytwelve/js/jquery.flexslider.js"></script>
我建议你尝试
<script type="text/javascript" src="http://www.yourwebsite.com/Demo/allabout/wp-content/themes/twentytwelve/js/jquery.flexslider.js"></script>
这篇关于Flexslider停止工作。 Firebug的显示类型错误:$(...)flexslider不是一个函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!