jQuery Popup plugin

Create your Popup plugin
Screenshots
What you can do with Popup on jQuery
Use popups to promote seasonal offers, announce new products, or invite visitors to subscribe without redesigning your jQuery website.
Create your popup from a template or from scratch in the Elfsight editor, then paste the generated HTML snippet into your page. You can manage its content and appearance in Elfsight without building the popup interface yourself. Once installed, update your campaigns in the editor without replacing the code on your website.
Key features of the jQuery Popup plugin
- Smart triggers – choose from page load, time on page, scroll, scroll to element, click and exit intent (desktop only). Combine several, and the first one to fire shows the popup.
- Coupons and countdowns – visitors copy the code with one click, and the timer runs per visitor from the first popup display.
- Lead capture form – receive submissions as email notifications or a CSV export, and send contacts to Mailchimp and Google Sheets.
- 7 layouts – Modal, Left and Right Pane, Left and Right Slide-in, Top and Bottom Bar.
- 14 elements – build the popup from photos, text, headers, buttons and other blocks.
- Background picture – upload your own image.
- Link buttons – send visitors from the popup to any address.
- Mobile version – set own text sizes and paddings for phones.
Try them all in the free editor.
Set it up in the editor instead of hand-coding
Display rules live in the Elfsight editor, so you change them there and not in your code:
- Pages – show the popup on all pages, on specific pages, or exclude some.
- Devices – choose Desktop, Tablet and Mobile.
- Schedule – set start and end dates for a promo and show the popup on a schedule.
- Frequency – show it once, every day, every week or until the visitor closes it.
How to add Popup to jQuery
Build your popup in the Elfsight editor, customize its content and appearance, and set when it should appear. Save your widget and copy the installation code.
Good to know: jQuery is a JavaScript library, so installation depends on how your website is built. For a custom HTML website, use the methods below. If your website uses a CMS, follow its installation guide.
Method 1: Add the popup to a specific page
- Open your website files in a code editor or your hosting file manager.
- Find the HTML file for the page where you want the popup.
- Paste the complete installation code before the closing </body> tag.
- Save the file and upload it to your server if you edited it locally.
- Open the published page and test the popup using its configured trigger.
Method 2: Add the popup to all pages
- Open the shared footer or template file included across your website.
- Paste the complete installation code where it will appear before </body> in the rendered pages.
- If your website has no shared template, add the code to each HTML page separately.
- Save and publish your changes.
- Check several pages to confirm the popup appears as expected.
Method 3: Adjust installation for AJAX-loaded content
Use this method if your website loads content through AJAX and the popup only appears after refreshing the page.
- Open the page or shared template containing your installation code.
- Move the script line that loads Elfsight’s platform into the <head> section.
- Keep the widget’s <div> line in the page body.
- Save and publish your changes.
- Test the popup again without manually refreshing the page.
For single-page applications: Contact Elfsight support for installation assistance. These websites may require a different setup from the AJAX method above.
Our support team can help you install the widget on your website.