Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript jQuery intermittent loading?

  • This topic is empty.
Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #40301
    i3a1l3y
    Member

    Basically my nivo slider doesn’t seem to load all the time on a website I am working on, however the exact same code and website works fine on an earlier version and I am stuck to where I have gone wrong.

    [www.greenkassab.com](http://www.greenkassab.com “GK”) – this is the site which isn’t loading the slider correctly all the time.

    [www.kylebailey.co.uk](http://www.kylebailey.co.uk “Kyle”) – this is the site that loads the slider perfectly fine every time.

    Any help is greatly appreciated.

    Cheers,

    Kyle

    #111930
    i3a1l3y
    Member

    Anyone?

    #111985
    i3a1l3y
    Member

    Still struggling with this if anyone can help?

    I have looked into having multiple jQuery versions running, but can’t seem to find the problem.

    #111986
    JoniGiuro
    Participant

    I think that could be the problem. I see you have
    src=”http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js”

    AND

    src=’http://greenkassab.com/wp-includes/js/jquery/jquery.js?ver=1.7.2′

    try removing the older one..

    #111987
    JoniGiuro
    Participant

    also try removing the datePicker plugin because I see it’s throwing an error in the console

    #111988
    JoniGiuro
    Participant

    Also it looks like you have nivo’s script imported correctly in the old version but not in the new one. Searching for “nivo” in your source code only shows html and css codes.
    Is it a static page? Or how do you load the script?

    #112345
    i3a1l3y
    Member

    Thanks for your help, removed one of the jQuery codes, and have tried to fix the file structure… still no luck.

    I am unsure about the datePicker plug-in as it shouldn’t even be there?

    #112898
    i3a1l3y
    Member

    Still haven’t been able to work it out, but really need to fix it!

    Can anyone help me further?

    Cheers

    #112932
    JoniGiuro
    Participant

    I still see this error in the console:

    Uncaught TypeError: Object [object Object] has no method ‘datepicker’

    I think this might be the problem. The error stops javascript and the slider doesn’t load.. I don’t know where this comes from

    #113090
    i3a1l3y
    Member

    I tried looking for the cause of that, and am completely lost.

    Thanks for helping me narrow it down to this, I’ll work on it again tonight to try and find a solution!

    Do you have any guesses at where the datePicker plug in is loading from?

    Thanks

    Kyle

    #113252
    i3a1l3y
    Member

    I think I have sorted it!

    There appears to be a problem associated with the datePicker plug-in from the contact form plug-in, and the nivo-slider I am using on the homepage. This seems to be causing trouble for a few people…

    Visit here to read other people’s ideas: http://wordpress.org/support/topic/possible-problem-with-date-picker-script

    Personally I just removed the wp header, and wp footer – as neither of them were in use on my index page.

    Thanks for your help JoniGuiro, narrowed it down for me!

    Kyle

    #113274
    i3a1l3y
    Member

    Forget what I just said.

    Still having problems, if any can help!

    #116081
    i3a1l3y
    Member

    Turns out there was actually a problem between Nivo Slider and the Contacts forms.

    I just used a different slider plug-in available through WordPress.

Viewing 13 posts - 1 through 13 (of 13 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.