Popup modal

Hi there,

Long time ago i made a new website:

Currently we making a website for:
https://phonestars.nl/

We want to have a POPUP after 1 or 2 seconds, Some requirements of the popup are:

  • People may not close the popup, and onlhy have one option: click to the button :slight_smile:
  • It must popup after 1 or 2 seconds
  • it must be screen-filling, so people are not allowed to scroll

JAVASCRIPT WE USE:

`function PopUp(hideOrshow) {
if (hideOrshow == 'hide') document.getElementById('ac-wrapper').style.display = "none";
else document.getElementById('ac-wrapper').removeAttribute('style');

}
window.onload = function () {
setTimeout(function () {
PopUp(‘show’);
}, 1000);
}`

CSS we use:

#ac-wrapper {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(255, 255, 255, .6);
z-index: 1001;

}
#popup {
width: 555px;
height: 375px;
background: #FFFFFF;
border: 5px solid #000;
border-radius: 25px;
-moz-border-radius: 25px;
-webkit-border-radius: 25px;
box-shadow: #64686e 0px 0px 3px 3px;
-moz-box-shadow: #64686e 0px 0px 3px 3px;
-webkit-box-shadow: #64686e 0px 0px 3px 3px;
position: relative;
top: 150px;
left: 375px;
}

And HTML we use:




Popup Content Here

        <input type="submit" name="submit" value="Submit" onClick="PopUp('hide')" />
    </center>
</div>

Can you guys tell us how we can get this MODAL POPUP

  • People may not close the popup, and onlhy have one option: click to the button :slight_smile:
  • It must popup after 1 or 2 seconds
  • it must be screen-filling, so people are not allowed to scroll

Hi Nick,

You can try using Convertplus. It is a bundled plugin. Try to create a MODAL and use the BLANK template.

Set as much delay you want to hide close button

Set the delay here:

We can make it FULLSCREEN:

There are other options available too. Check complete documentation here.

Hope this helps.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.