balboa 33 Posted September 11, 2021 Report Share Posted September 11, 2021 Вопрос к программистам) Можно в такой кнопке подключить функции? <button type="button" class="close true" data-dismiss="modal" aria-label="Close" onclick="document.getElementById('popup1<?php echo $wp_home_id; ?>').style.display='none';">x</button> и еще overlay_popup<?php echo $wp_home_id; ?> Это кнопка закрытия всплывающего окна. Link to post Share on other sites
Модератор files 2844 Posted September 12, 2021 Модератор Report Share Posted September 12, 2021 Попробуйте так: <button type="button" class="close true" data-dismiss="modal" aria-label="Close" onclick="overlay_popup<?php echo $wp_home_id; ?>;document.getElementById('popup1<?php echo $wp_home_id; ?>').style.display='none';">x</button> Link to post Share on other sites
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now