Please make sure that the following directories exist and writable (set permissions 0777):
/var/www/app.onetwosale.co.il/popups/content/plugins

How to embed to your website

Layered Popups - How To Use Online Documentation

Embedding Layered Popups into website

To embed Layered Popups into any website you need perform the following steps:

  1. Make sure that your website loads jQuery version 1.8 or higher.
  2. Make sure that your website has DOCTYPE. If not, add the following line as a first line of HTML-document:
    <!DOCTYPE html>
  3. Copy the following JS-snippet and paste it into your website. You need paste it at the end of <body> section (above closing </body> tag).
  4. That's it. Integration finished. :-)

Using Popups

There are several ways how you can use popups on your website.

  1. To raise the popup by clicking certain element:
    onclick="return ulp_open('Popup-ID');"
  2. Or you can place it into link, here is an example:
    <a href="#ulp-Popup-ID">Raise the popup</a>
  3. To raise the popup, when website loaded (OnLoad popup), add the following JS-code to your page. It must be inserted below remote.min.js.
    <script>
    ulp_add_event("onload", {
    	popup:		"Popup-ID",
    	mode:		"every-time",
    	period:		5,
    	delay:		0,
    	close_delay:	0
    });
    </script>
  4. If you want to display popup once per session
    <script>
    ulp_add_event("onload", {
    	popup:		"Popup-ID",
    	mode:		"once-session",
    	period:		5,
    	delay:		0,
    	close_delay:	0
    });
    </script>
  5. To embed the popup into page and display it as a part of its content, use the following HTML shortcode:
    <div class="ulp-inline" data-id="Popup-ID"></div>