| .. | |||||
| google-map.js | |||||
| jquery-3.5.1.min.js | |||||
| main.js | |||||
| modal.js | |||||
| plugins.js | |||||
| pma.js | |||||
| pmdn.js | |||||
| umkm.js |
| Server IP : 103.169.32.36 / Your IP : 216.73.217.13 Web Server : Apache System : Linux web.dpmptsp 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : apache ( 48) PHP Version : 5.6.40 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/dpmptsp/public_html/promosi/assets/js/ |
Upload File : |
/* Demo purposes only */
$(".hover").mouseleave(
function() {
$(this).removeClass("hover");
}
);
const buttons = document.querySelectorAll(".buttonmodal[data-modal-trigger]");
for(let button of buttons) {
modalEvent(button);
}
function modalEvent(button) {
button.addEventListener('click', () => {
const trigger = button.getAttribute('data-modal-trigger');
const modal = document.querySelector(`[data-modal=${trigger}]`);
const contentWrapper = modal.querySelector('.content-wrapper');
const close = modal.querySelector('.close');
close.addEventListener('click', () => modal.classList.remove('open'));
modal.addEventListener('click', () => modal.classList.remove('open'));
contentWrapper.addEventListener('click', (e) => e.stopPropagation());
modal.classList.toggle('open');
});
}| .. | |||||
| google-map.js | |||||
| jquery-3.5.1.min.js | |||||
| main.js | |||||
| modal.js | |||||
| plugins.js | |||||
| pma.js | |||||
| pmdn.js | |||||
| umkm.js |