-
Notifications
You must be signed in to change notification settings - Fork 386
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sliderPro is not a function #328
Comments
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, 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 |
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. |
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. |
In your code I see that you instantiate the slider in a callback function of |
I am getting this "sliderPro is not a function" error in browser network consoles. i am sure this has been brought up before. however, slider pro still works from what i can tell.
it might be specific to my setup but just curious if there is a simple fix for this. I have sliderpro parameters in another js file and again it is working but would like to work out this error message. here is the code from the other js include file
you can see a live version here:
https://www.investorconstruction.com/properties/1050_Old_Stacy_Rd.html
The text was updated successfully, but these errors were encountered: