• Hey

    I’m making this button with js and incorporating it with Elementor personalised html to open a form and all seems to work fine expect for the popup that even tho is triggered (scroll gets blocked and i was even able to click an invisible dropdown from the form once) it doesnt show up at all.

    Any idea what could be? Thanks!

    • This topic was modified 4 years, 11 months ago by zerobulwark.

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

Viewing 1 replies (of 1 total)
  • Thread Starter zerobulwark

    (@tkdfilipe)

    Its seems that the cause of it is in the custom html i have, more precisely here:

    $(document).ready(function() {
      $("#formButton").click(function() {
        $("#form1").show();
        $("#formButton").hide();
      });
    })
    
    window.onload = function() {
      var d = new Date();
      var weekday = d.getDay();
      var hours = d.getHours();
      if (hours >= 9 && hours < 18 && weekday > 0 && weekday < 6) {
        $("#formButton").show();
        $("#form2").hide();
      } else {
        $("#formButton").hide();
        $("#form2").show();
      }
    };

    Any explanation?

    • This reply was modified 4 years, 11 months ago by zerobulwark.
    • This reply was modified 4 years, 11 months ago by zerobulwark.
    • This reply was modified 4 years, 11 months ago by zerobulwark.
Viewing 1 replies (of 1 total)
  • The topic ‘Popup is triggered but doesnt show up’ is closed to new replies.