jQuery问题 - #<一个对象>没有办法 [英] jQuery issue - #<an Object> has no method

查看:107
本文介绍了jQuery问题 - #<一个对象>没有办法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近尝试过jQuery插件的错误,我不断收到这个错误...

I've tried a veriety of jQuery plugins recently and I keep getting this error …

...无论我尝试使用什么插件。

… regardless of what plugin I try to use.

我检查了JS文件的链接,这些文件都在那里,并且工作正常。我正在使用Drupal,如果这有任何区别。

I've checked the links to the JS files which are all there and working fine. I'm using Drupal if that makes any difference.

我已经从主站点运行插件,以证明他们正在工作,而我正在做的事情正确100%的成功。

I've run the plugins away from the main site to demonstrate that they are working and that I am doing things right with 100% success.

任何想法?

更新:

我在页脚中调用的jQuery文件:

My jQuery file called in the footer:

$(document).ready(function() {          

$('#footer_holder').hide();

// Fancy Box
$("a.fancybox").fancybox({
    'hideOnContentClick': true,
    'titlePosition' : 'over',
    'transitionIn'  :   'elastic',
    'transitionOut' :   'elastic',
    'speedIn'       :   600, 
    'speedOut'      :   200, 
    'overlayShow'   :   false,
});

$("#homepage_slider").easySlider({
    auto: true, 
    continuous: true,
});

});

*注意 - 花式盒工作正常(除非easySlider c ode在上面)。 jQuery是由Drupal整理出来的。我正在运行版本1.4

*note - fancy box works fine (unless the easySlider code is above it). jQuery is sorted out by Drupal. I'm running version 1.4

推荐答案

忽略我。我很抱歉大家我错了脚本的url。感谢Simon Ainley的正确方向。

Ignore me. I'm sorry everyone. I'd mistyped the url of the script. Thanks to Simon Ainley for the prod in the right direction.

再次抱歉。谢谢。

这篇关于jQuery问题 - #<一个对象>没有办法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆