Website Building » Wix » How Do I Create a Pop Up Menu in Wix?

How Do I Create a Pop Up Menu in Wix?

Last updated on January 1, 2023 @ 12:49 pm

There are a few different ways to create a pop up menu in Wix.

One way is to use the Wix Editor. To do this, simply click on the ‘Add’ button in the top left corner of the editor and then select ‘Pop Up Menu’ from the list of options.

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.

Another way to create a pop up menu is to use Wix Code. With this method, you can add your own custom code to create a pop up menu that is tailored to your specific needs.

To do this, go to the ‘Add’ button and select ‘Wix Code’. Then, in the code editor, add the following code:

import wixWindow from 'wix-window';
 
$w.onReady(function () {
  $w('#button1').onClick( (event) => {
    wixWindow.openLightbox("popUpMenu1");});
  $w('#button2').openLightbox("popUpMenu2");});
  $w('#button3').openLightbox("popUpMenu3");});
});

This will create three buttons that each open a different pop up menu when clicked. You can then customize each pop up menu by adding your own content, such as text, images or videos.

Conclusion: There are a few different ways that you can create a pop up menu in Wix. The easiest way is to use the Wix Editor, but if you want more control over your pop up menus, then you can use Wix Code.

PRO TIP: This article provides instructions on how to create a pop up menu in Wix. However, it is important to note that Wix does not support pop up menus. Therefore, if you try to create a pop up menu in Wix, it will not work properly.
Madison Geldart

Madison Geldart

Cloud infrastructure engineer and tech mess solver.