<imgsrc="https://studio.nmkr.io/images/buttons/paybutton_1_1.svg"onclick="javascript:openPaymentWindow()"><scripttype="text/javascript">functionopenPaymentWindow() {constpaymentUrl="https://pay.nmkr.io/?p=7e221683f55e48b9a1f9e2666c6551b7&c=1";// Specify the popup width and heightconstpopupWidth=500;constpopupHeight=700;// Calculate the center of the screenconstleft=window.top.outerWidth /2+window.top.screenX - ( popupWidth /2);consttop=window.top.outerHeight /2+window.top.screenY - ( popupHeight /2);constpopup=window.open(paymentUrl,"NFT-MAKER PRO Payment Gateway",`popup=1, location=1, width=${popupWidth}, height=${popupHeight}, left=${left}, top=${top}`);// Show dim backgrounddocument.body.style ="background: rgba(0, 0, 0, 0.5)";// Continuously check whether the popup has been closedconstbackgroundCheck=setInterval(function () {if(popup.closed) {clearInterval(backgroundCheck);console.log("Popup closed");// Remove dim backgrounddocument.body.style =""; } },1000); } </script>
<pstyle="text-align:center;"> <selectid="NFT"><optionvalue="None">-- Select --</option><optionvalue="1">1</option><optionvalue="2">2</option><optionvalue="3">3</option><optionvalue="4">4</option><optionvalue="5">5</option></select><br><br></script> </p><imgsrc="https://pro.nft-maker.io/images/buttons/paybutton_1_1.svg"onclick="javascript:openPaymentWindow()"><scripttype="text/javascript">functionopenPaymentWindow() {constpaymentUrl="https://pay.nmkr.io/?p=cec3419ddf2c4c5ca9b3abdbc719ff29&c="+NFT.value;// Specify the popup width and heightconstpopupWidth=500;constpopupHeight=700;// Calculate the center of the screenconstleft=window.top.outerWidth /2+window.top.screenX - ( popupWidth /2);consttop=window.top.outerHeight /2+window.top.screenY - ( popupHeight /2);constpopup=window.open(paymentUrl,"NFT-MAKER PRO Payment Gateway",`popup=1, location=1, width=${popupWidth}, height=${popupHeight}, left=${left}, top=${top}`);// Show dim backgrounddocument.body.style ="background: rgba(0, 0, 0, 0.5)";// Continuously check whether the popup has been closedconstbackgroundCheck=setInterval(function () {if(popup.closed) {clearInterval(backgroundCheck);console.log("Popup closed");// Remove dim backgrounddocument.body.style =""; } },1000); } </script>