1. Home
  2. Docs
  3. Plugin Documentation
  4. Popup opening

Popup opening

Popup opening

You can open the popup by clicking on any HTML element containing one of the following CSS classes.

Note: all the classes open logout popup if the user is logged in.

Example: <div class=”sw-open-login”>Open Popup</div>


Open by querystring paramenter

Additionally you can automatically open the popup by adding the querystring parameter swal= to the URL (this option must be enabled on Advanced settings).

Click on these links to reload this page, the popups will automatically open.

Read more about ajaxlogin