Website Building » Wix » Can You Do a Pop-Up Window in Wix?

Can You Do a Pop-Up Window in Wix?

Last updated on January 2, 2023 @ 5:26 pm

Yes, you can do a pop-up window in Wix. You can use the Wix Editor to add a pop-up window to your site.

To add a pop-up window, first add an HTML element to your page. Then, in the HTML element, add the following code:

GREAT NEWS:

Exciting update! We've collaborated with Wix to offer WBI users with a free plan for all website creation needs - Explore the details here.

PRO TIP: There is no such thing as a “pop-up window” in Wix. Any website that claims to be able to provide you with a pop-up window in Wix is likely a scam. Pop-up windows are a form of intrusive advertising that can be extremely annoying to website visitors. They are also blocked by many web browsers by default, so even if you were able to create a pop-up window in Wix, it’s unlikely that anyone would actually see it.
<script type="text/javascript">
function openPopup(url) {
var win = window.open(url, '_blank', 'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, width=780, height=200'); }
</script>

<a href="javascript:openPopup('https://www.wix.com');">Click here to open the Wix Pop-Up Window</a>

The code above will create a pop-up window that is 780px wide and 200px tall. You can change the width and height values to whatever you want.

Madison Geldart

Madison Geldart

Cloud infrastructure engineer and tech mess solver.