document.write("
<!-- Begin "Multiple widgets trigger the same pop-up" || Help center --> <!-- Add to Settings->Javascript->Head --> <!-- CS:20200925-23-1 --> <script> document.addEventListener("DOMContentLoaded", function(){ // selector for links that will open the pop-up var elements = document.querySelectorAll("#element-1, #element-8, #element-9"); elements.forEach(function(elem) { elem.addEventListener('click', function (event) { event.preventDefault(); // selector for the link that actually has the pop-up attached document.querySelector('#element-2 a.popup-link').click(); }); }); }); </script> <!-- End "Multiple widgets trigger the same pop-up" || Help center -->