Target specific popup close button
-
Hi,
Is there a way to target the close button of a specific popup?
I have 3 pages, each one having a specific background audio and a popup displaying a specific video. The background audio pauses when the popup opening button is clicked. I want the audio to resume when the popup close button is clicked. The following code is working for one popup, but not when there are several.
var ClickButton = $(“#chapter-1-theme”)[0];
$(“.pum-close.popup-close”).click(function() {
ClickButton.play();
});Thank you in advance,
Jo
The page I need help with: [log in to see the link]
The topic ‘Target specific popup close button’ is closed to new replies.