Forums Forums Search & Filter Pro Jquery conflict with search-filter-build.min.js and .slide() jQuery

Tagged: 

Viewing 8 posts - 1 through 8 (of 8 total)
  • Anonymous
    #229047

    Hi there,

    I’ve identified the js file ‘search-filter-build.min.js’ conflicting with my accordion-style navigation and faq boxes on my website.
    I’ve identified this by enqueueing the js & files via functions and omitting one at a time.

    The issue is that when the nav is clicked it jumps rather than slides.

    See example: demo.jaffewebsites.com.au/kush/find-loose-diamonds-melbourne/find-loose-diamonds-melbourne (open navigation to see error)

    Please advise if there is something I can do to avoid this issue.

    Thanks in advance!

    Trevor
    #229079

    Your site appears to be using jquery v3.4.0, but not jquery v1.12.4, which is what ships with WordPress.

    V3 is not necessarily better or newer than v1, it is different however. Our plugin (like most WordPress plugins and themes) assume that you will be using jQuery 1.12.4

    The conflict, I suspect, is a consequence of this. Is there a reason why you are using v3 and not v1?

    Anonymous
    #229116

    Hey Trevor,
    I’ve found this version is compatible with my other js running.
    Do you suggest I use a previous version?
    Is there anyway to make your plugin v3 compatible?
    Only seems to effect .slide() on the accordions and nav

    Trevor
    #229125

    I would try v1.12.4 to see if it works. It should.

    Anonymous
    #229127

    While waiting for your reply I tried this. Unfortunately owl carousel to name one requires 1.8.3 min.
    Is there another way around this?

    Trevor
    #229136

    1.8.3 is much older than 1.12.4?

    Anonymous
    #229142

    Hi Trevor, apologies I misread your jquery version.
    I’ve changed to 1.8.3 and all is now working – thank you for the advice.

    Thanks

    Trevor
    #229149

    Thanks for letting me know. I will close this thread for now.

Viewing 8 posts - 1 through 8 (of 8 total)