• Resolved julandesign

    (@julandesign)


    The plugin works great when it’s on the page itself. But when I have it setup in a popup disclaimer window, it does not work. Refer to my link and find the yellow translation button at the top right hand corner. Clicking on that opens the popup with the shortcode for dropdown languages. Hope you can help me with this.

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

Viewing 1 replies (of 1 total)
  • Plugin Author edo888

    (@edo888)

    Hi,

    I see that the HTML code for language selector is not available on the page until you open the popup. In that case the events like pointerenter is not attached to the language switcher, so it does not do anything.

    I would recommend you to make sure that div.gtranslate_wrapper element is available on the page in hidden state without the need to open the popup and it will be fine.

    Alternatively you can get the full widget code from https://gtranslate.io/website-translator-widget and place it inside the popup, so it includes js as well as necessary HTML elements.

    Thanks! 🙂

Viewing 1 replies (of 1 total)

The topic ‘When dropdown shortcode in Popup, it does not work’ is closed to new replies.