Okay
  Public Ticket #4002613
Button functionality
Open

Comments

  •  2
    Daniel Gonzalez started the conversation
    • I created a pop up with Mailer Lite. They gave me these two codes to make a button for the pop up to work:

      <button class="ml-onclick-form" onclick="ml('show', 'ayEFNl', true)">Click here to show form</button>

      <a class="ml-onclick-form" href="javascript:void(0)" onclick="ml('show', 'ayEFNl', true)">Click here to show form</a>

    Please visit this page and click the text that reads "KREATURA!! Click here to show form"

    https://www.massexplained.com/mass-explained-academy/

    The pop up form works. But how do I modify the script (and which do I choose) to make the pop up work with my layer slider button that says "SIGN ME UP"? Where do i paste the code?


  •  152
    George replied

    Hello Daniel,

    To make the MailerLite popup work with your "SIGN ME UP" button inside LayerSlider, please follow these steps:

    - Open your related slider in the LayerSlider Project Editor.

    - Select the layer that contains the "SIGN ME UP" button.

    - In the right sidebar, navigate to Layers → Attributes.

    - For the class, enter: ml-onclick-form

    - Then, add a new custom attribute:

         key: onclick
         value: ml('show', 'ayEFNl', true)
     
    That should make the popup trigger correctly when the LayerSlider button is clicked. Let us know if you run into any issues!

    Best Regards,
    George | Kreatura Dev Team

  •  2
    Daniel Gonzalez replied

    Thank you so much, George. It worked flawlessly!

  •  2
    Daniel Gonzalez replied

    Hey George. When you go to this site on a mobile phone. You see a circle in the top right. How do I get rid of it?

    https://www.massexplained.com/mass-explained-academy/

    Attached files:  IMG_240613C1D1AA-1.jpeg

  •  152
    George replied

    Hello Daniel,

    Please make sure that Circle Timer is disabled in Project Settings → Navigation

    Attached files:  Screenshot 2025-05-26 at 12.52.28.png

    Best Regards,
    George | Kreatura Dev Team

  •  2
    Daniel Gonzalez replied

    It is off. That's what's so confusing. Any other ideas?

  •  152
    George replied

    As I can see, it is still enabled in LayerSlider ID 118 (which is a mobile-only slider)

    Attached files:  Screenshot 2025-05-28 at 10.20.38.png

    Best Regards,
    George | Kreatura Dev Team