I want a popup that is activated when the user clicks

I want a popup that is activated when the user clicks a link in the text.

I don't want the popup to be activated on page load or anything similar. Just when the user clicks the "Transcript" link.

Is this possible?

I have just activated WPMU DEV and Popup Pro.

  • Michelle Shull

    Hi there, Heidi!

    The way onclick works in PopUp is to trigger when a CSS element you name is clicked. This means we'll need to wrap your link in a div, so there's a CSS element name attached. Do this like so:

    <div id = "my_popup_link> ALL YOUR LINK TEXT GOES HERE </div>

    You'll need to do this in Text/HTML view, rather than the visual editor, so you can use HTML.

    Now, go to PopUp > Settings, and under Available Conditions, make sure JavaScript Events is active.

    Now go to your individual popup, and check out my screenshot for where to add your element name, which will be #my_popup_link.

    Hope this helps!