Forums › Forums › Search & Filter Pro › Stop chosen.jquery.min.js?v fer=2.4.6 from loading
- This topic has 3 replies, 2 voices, and was last updated 6 years, 4 months ago by
Trevor.
-
Anonymous(Private) December 5, 2019 at 10:02 pm #228527
Thanx for the reply. Unfortunately that didn’t solve my problem. I use jQuery version 3.4.1.2 with the following code to get a smooth slide down menu with a nice slide down animation.
$(document).ready(function() {
$(‘.hamburger’).click(function() {
$(‘.hamburger’).toggleClass(‘is-active’);
$(‘.slide-down-content’).slideToggle(300);
});});
When Search & Filter is active and the js from the plugin is loaded it interferes with my code so that the slide down animation does not work. If I disable Search & Filter it works as normal again. I have also tried the setting Lazy Load JavaScript. The effect is that the pages that don’t have the search form my menu works perfectly. But when I go to a page with a search form it stops working properly.
You can see the difference yourself by visiting the pages below. Make sure to make the window narrow so you see the hamburger menu.
User Name: kund
Password: Granska1On this page it works: https://shopsimsonpowertools.webbson.se/
On this page it does not work: https://shopsimsonpowertools.webbson.se/product-category/solid-jacks/
Do you have a solution for this?
Trevor(Private) December 6, 2019 at 8:18 am #228532Is there a reason that you are using jQuery 3.x? It would be better not to load that.
jQuery is available in 3 versions (1.x, 2.x and 3.x). In general, there is a good chance one will conflict with the other.
All are currently maintained. One version does not replace the other, and all have current versions available.
WordPress works and ships with 1.12.4
-
AuthorPosts