Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Apr 2011
    Posts
    381
    Plugin Contributions
    0

    red flag Jquery Conflict on mobile

    Hello everyone,

    the site is at http://royal-fleur.com

    I need some serious help with jquery conflict.

    I am using a jquery calendar as attribute for a delivery date.

    The site works as it should when on a desktop.

    However, when access from a mobile device, the top left corner menu is not working anymore. When clicked, it goes to the bottom of the page displaying all the links.

    Here is a link to product with the attributes.

    https://www.royal-fleur.com/valentin...-roses-bouquet

    Please help in fixing the mobile menu issue.

    Thank you

  2. #2
    Join Date
    Jan 2019
    Location
    New Zealand
    Posts
    38
    Plugin Contributions
    0

    Default Re: Jquery Conflict

    The dater picker script you have added also loads an older version of jquery 1.4 causing a conflict.
    The date picker script you selected will not work with jquery 3.4.
    Removing all traces of the date picker scripts will restore your site to normal.
    Find a date picker script that works with jquery 3.4 and then test test test
    btw your mega menu has broken the page layout on desktop

  3. #3
    Join Date
    Apr 2011
    Posts
    381
    Plugin Contributions
    0

    Default Re: Jquery Conflict

    Quote Originally Posted by raptar View Post
    The dater picker script you have added also loads an older version of jquery 1.4 causing a conflict.
    The date picker script you selected will not work with jquery 3.4.
    Removing all traces of the date picker scripts will restore your site to normal.
    Find a date picker script that works with jquery 3.4 and then test test test
    btw your mega menu has broken the page layout on desktop
    Thank you.

    I will try and look for a more up to date version of datepicker.

    I am completely new to this. What s the best way to test? firefox debug console?

    Also, what do you mean by mega menu broke desktop layout?

    It appears fine on my ends ( IE, Chrome and Firefox) but maybe I am missing something here.

    Thank you

  4. #4
    Join Date
    Jan 2019
    Location
    New Zealand
    Posts
    38
    Plugin Contributions
    0

    Default Re: Jquery Conflict

    Debug is very helpful. So is the forum if you supply enough details for people to work with.
    You must be using a really big screen because when I look at your menu (on a smaller screen) some links are pushed onto the next line and they are not displaying correctly. This is causing the menu to overflow and push the sidebar around.

  5. #5
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,846
    Plugin Contributions
    25

    Default Re: Jquery Conflict

    I like to use this one : daterangepicker.
    It is easy to customize,

  6. #6
    Join Date
    Apr 2011
    Posts
    381
    Plugin Contributions
    0

    Default Re: Jquery Conflict

    Quote Originally Posted by raptar View Post
    Debug is very helpful. So is the forum if you supply enough details for people to work with.
    You must be using a really big screen because when I look at your menu (on a smaller screen) some links are pushed onto the next line and they are not displaying correctly. This is causing the menu to overflow and push the sidebar around.
    I see what you mean now. I do have a big screen and such never noticed the "push over" thing. After zooming my page, the whole page layout gets broken.

    How can I fix that?

    Thanks

  7. #7
    Join Date
    Apr 2011
    Posts
    381
    Plugin Contributions
    0

    Default Re: Jquery Conflict

    Quote Originally Posted by Design75 View Post
    I like to use this one : daterangepicker.
    It is easy to customize,
    Thanks. I will check it out. So far, as per raptar advice, I updated the datepicker and seems to be ok so far. The mobile menu is working again.

  8. #8
    Join Date
    Jan 2019
    Location
    New Zealand
    Posts
    38
    Plugin Contributions
    0

    Default Re: Jquery Conflict

    I Would add to #mega-wrapper .mega-menu display:inline-block to make the menu a block and change the height from 30px to auto to fill that block.
    HTML Code:
    #mega-wrapper .mega-menu{display:inline-block;height:auto;}
    I noticed that you still have multiple jquerys running... That date picker code has one and I noticed you have added a jquery1.7 to that list. Your site starts with jquery 3.4, the other jquerys are going to fight that.

  9. #9
    Join Date
    Dec 2007
    Location
    Payson, AZ
    Posts
    1,076
    Plugin Contributions
    15

    Default Re: Jquery Conflict

    Quote Originally Posted by nicksab View Post
    I will try and look for a more up to date version of datepicker.
    jQuery UI has a datepicker widget within it that I use on both front and back end.. has many other input widgets too, more info here.
    Dave
    Always forward thinking... Lost my mind!

  10. #10
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,846
    Plugin Contributions
    25

    Default Re: Jquery Conflict

    Quote Originally Posted by davewest View Post
    jQuery UI has a datepicker widget within it that I use on both front and back end.. has many other input widgets too, more info here.
    Which btw is also the new standard for Zen Cart backend

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v156 How to Enable Mobile Menu (Jquery mmenu) on Desktop Layout of Responsive Classic?
    By RobertH in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 20 Jun 2019, 03:45 PM
  2. v139h I bought a mobile template; how do I Mobile Device to Show Desktop version by Default
    By explorer1979 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 2 Mar 2013, 03:42 PM
  3. custom jQuery Mobile formatting issue for product info
    By smm11 in forum General Questions
    Replies: 3
    Last Post: 11 Jan 2012, 08:13 PM
  4. Javascript Conflict with Slimbox and Mootools and jQuery
    By bhensarl in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 15 Nov 2010, 03:22 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR