Documentation

Unlimited Pop-Ups WordPress Plugin

Home / Binding onClick event with the pop-up

Binding onClick event with the pop-up

You can create a Pop-Up and bind it with an onClick event for a button or link or any valid HTML element which can run jQuery click events. To create a pop-up that shows up on click on a button or link follow the steps below:

  1. When you create or edit a pop-up, you can assign a CSS .class-name or #id-name under bind onClick event. Once you specify a valid class name or id, pop-up will only show up once a user click on a link or button which has that class name or id name assigned.
  2. To create a link or button, add class=”class-name” or id=”id-name” to the HTML element and you are done.

Check out this video to see it in action

[youtube=https://www.youtube.com/watch?v=QJH6Jc80OQM]