Giter Club home page Giter Club logo

Comments (5)

davidghi avatar davidghi commented on June 2, 2024

Hi,

This can happen is the jQuery library is loaded after the slider script. You need to make sure that jQuery is loaded first.

Best,
David

from slider-pro.

walkoffhomerun avatar walkoffhomerun commented on June 2, 2024

david, thanks for the reply. so viewing the loading sequence in the browsers network console it does show jQuery loading before any other slider pro js file. now, being a CDN they seem to load simultaneously in the graph view but as far as order of sequence jQuery is loading first.

I then tried moving jQuery up higher in the page without a "defer" and nothing changed. the same errors are still there.

is there something in my other js file, shown above in 1st post, that loads all the sliderpro config items and maybe how i am calling sliderpro?

again, sliderpro is working even with this error message. i am just not a js guy who can understand what is going on with this error

from slider-pro.

davidghi avatar davidghi commented on June 2, 2024

Another thing that could cause this kind of error is loading more than one instance of the jQuery library. Not sure if that's the case though.

from slider-pro.

walkoffhomerun avatar walkoffhomerun commented on June 2, 2024

what if sliderpro.min.js loads AFTER the page level config js parameters for slider pro? i see sliderpro.min.js is loading after everything else loads.

from slider-pro.

davidghi avatar davidghi commented on June 2, 2024

In your code I see that you instantiate the slider in a callback function of loadScript. If that callback is executed after the script loads, then it should be ok.

from slider-pro.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.