Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1437308

    Hi,

    We use the GTranslate plugin on some of our customer websites. There is an option in the plugin to display the language links in the menu.

    As I understand it, the mobile menu is a copy of the normal menu. Since an unknown point in time, the language links in the mobile menu no longer work. Some JS are missing or not copied in the mobile menu. There are 5 events at every language-link in the normal menu, but only 4 in the mobile menu. One is missing: It’s the event pointerenter (function load_tlib()).

    Regards,
    Bernd

    #1437346

    Hey Bernd,
    Thanks for the link to your site, I don’t have any experience with GTranslate but the mobile menu and desktop menus seems to contain all of the same classes.
    The menu items don’t contain real links just a hashtag, so this leads me to believe the GTranslate plugin is preforming a javascript “onclick” event and for some reason it is not working on mobile.
    Please note that event pointerenter will not fire on mobile, your plugin should use touch-action I recommend asking your plugin for help with this as they are creating the javascript “onclick” event to change the hashtag into a link.

    Best regards,
    Mike

    #1437454

    Hi Mike

    Thanks! You can close this topic.

    Regards,
    Bernd

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘GTranslate no longer works in the mobile menu’ is closed to new replies.