• Resolved snowbird12

    (@snowbird12)


    Hi together
    Since the update the menus on small devices don’t work anymore.
    (they all worked before half a year).
    The menus don’t open (submenus don’t open), see on menupoint “Monatstexte” and also if you click on a menu-item it don’t jump anymore to the right place.

    Any idea why?

    thanks for help and have funny days.
    snowbird

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Gabor

    (@nextendweb_gabor)

    Hi @snowbird12!

    Did you figure out the problem? Because I can see your menu working correctly. If you would still see the same issue, please tell me what browser are you using and what is the version number of it!

    Thread Starter snowbird12

    (@snowbird12)

    Hi Gabor
    thanks for answer. it works on Desktop, but not on Smartphones. I tried with Samsung note 2, Samsung galaxy 8 and 9, and 2 different Iphones.
    browsers are samsung browser new and old, mobil chrome and chrome beta and the browser from Iphones.

    the menu under site “Monatstexte” don’t open and close, and the scrolling don’t work.

    thanks for ideas whats happen.
    thanks
    snowbird

    Plugin Author Gabor

    (@nextendweb_gabor)

    There is a javascript error in your theme, because it wants to run a code on every link, just in your case these parents don’t have “href” parts, so they are links without urls, which causes an error.

    You should open up this file:
    https://coeg.ch/wp-content/themes/bridge/js/ajax.min.js
    It is minified, so you could use for example this website to make it more readable for you:
    https://jsbeautifier.org/
    Then around line 264. you will find this code:
    if (window.location.href.split("#")[0] == $j(this).attr("href").split("#")[0]) return !1;
    You should modify it to this:
    if (typeof $j(this).attr("href") != 'undefined' && window.location.href.split("#")[0] == $j(this).attr("href").split("#")[0]) return !1;

    Then clear your W3 Total Cache’s cache. Please let me know if the problem still exists after this!

    You can see this error message in desktop browsers too, like in Chrome if you go to your page:
    https://coeg.ch/monatstexte/
    press F12 -> click on Console -> click on one of our parent menuitems. This can show, if the “Cannot read property ‘split’ of undefined” error message won’t show up anymore after changing the code.

    Thread Starter snowbird12

    (@snowbird12)

    Hello Gabor
    thanks for help. But you may laugh about me, but I’m not really good in some of this steps.
    So my steps: – I downloaded the js.ajax.min.js file
    – I I open jsbeautifier.org and add the file there, and I change the code.

    but now I don’t know how to download the new js file from the jsbeautifier?

    Can you tell me that?

    greetings Toni

    Thread Starter snowbird12

    (@snowbird12)

    Hi Gabor
    I think I finally get it, but it still don’t work. error in browser is

    SCRIPT5007: Unable to get property ‘split’ of undefined or null reference

    Have a good day
    toni

    Plugin Author Gabor

    (@nextendweb_gabor)

    For me that error message disappeared, so it seems like that didn’t caused the issue. Please rather write to us to [email protected] because it rather looks like a conflict, that there will be a code in your website, which stops our menu’s clicking javascript code to run and we would need to make some deeper tests.

    Thread Starter snowbird12

    (@snowbird12)

    nextend support helped me to solve this issue. outstanding support. thanks a lot, because it was to difficult for me.

    I recommend this support, it’s the best I ever had

    snowbird

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘accordeon on small devices’ is closed to new replies.