TypeError jquery issues with site - CSS conflicts

Larry Gray
Larry Gray used Ask the Experts™
on
When my site I get an occasional error message saying that there are conflicts.  I'd like to resolve these issues as I've made changes to the site and it loads faster it just keeps having this error message (see below):

Error Message
If you need any additional files let me know.  Also, I've attached the html file for the page that gets the errors.  I'd appreciate any advice or suggestions
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Most Valuable Expert 2017
Distinguished Expert 2018
Commented:
That error is saying that it could not find the iosSlider library. Either you are trying to use it outside of a document ready block or the library is not included. If these errors are intermittent then I would guess the former

Make sure the reference to iosSlider is inside a document ready i.e
$(function() {
    // Initialise here
    $(someElement).iosSlider();
});

Open in new window


The potential cause of this error (if intermittent) is that resources on a page are loaded asynchronously in the order they are found - however network delays might result in changing that order so that if you have a reference to a library execute before the page is ready and the library in question has downloaded you will get this error.
Larry GrayMultimedia Specialist

Author

Commented:
Thanks.  I appreciate your explanation, the slider hasn't been used and is currently just a background image so i'll take the unused jquery file out and simply use the background for my image.
Most Valuable Expert 2017
Distinguished Expert 2018

Commented:
You are welcome.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial