{"id":769,"date":"2024-03-17T16:20:59","date_gmt":"2024-03-17T16:20:59","guid":{"rendered":"http:\/\/azharacademy.org\/home\/?page_id=769"},"modified":"2024-03-18T12:17:38","modified_gmt":"2024-03-18T12:17:38","slug":"donate","status":"publish","type":"page","link":"https:\/\/www.azharacademy.org\/home\/donate\/","title":{"rendered":"Donate"},"content":{"rendered":"\n<style>\n    @media screen and (max-width: 768px) {\n        #donationContainer {\n            padding: 0 !important;\n        }\n\n        .mobilePaddingDonateArea {\n            padding: 0px !important;\n        }\n\n    }\n<\/style>\n<script src=\"https:\/\/ajax.googleapis.com\/ajax\/libs\/jquery\/3.7.1\/jquery.min.js\"><\/script>\n<script src=\"https:\/\/cdn.jsdelivr.net\/npm\/sweetalert2@11\"><\/script>\n\n\n<div style=\"width: 100%\">\n    <iframe width=\"100%\" height=\"100%\" id=\"donateIframe\" src=\"https:\/\/donate.signsoft.co.uk\/index.php??type=Single Payment&#038;amount=0&#038;purpose=1&#038;p=Donation&#038;client_id=224\" frameborder=\"0\" allowfullscreen=\"\">\n    <\/iframe>\n<\/div>\n<script>\n    window.addEventListener('message', function(e) {\n        const data = JSON.parse(e.data);\n        if (data.frame_height != undefined) {\n            const frame_height = data.frame_height;\n            document.getElementById('donateIframe').style.height = frame_height + 'px';\n        }\n    });\n\n    window.addEventListener('message', function(e) {\n        const data = JSON.parse(e.data);\n        if (data.scrollTop != undefined) {\n            const scrollTop = data.scrollTop; \/\/  not need use\n            window.scrollTo({\n                top: 0,\n                behavior: \"smooth\"\n            });\n        }\n    });\n\nfunction infoMsg(infoMsg) {\n\t\t\tSwal.fire({\n\t\t\t  text: infoMsg,\n\t\t\t  showClass: {\n\t\t\t\tpopup: 'animate__animated animate__fadeInDown'\n\t\t\t  },\n\t\t\t  hideClass: {\n\t\t\t\tpopup: 'animate__animated animate__fadeOutUp'\n\t\t\t  }\n\t\t\t})\n\t\t}\n\t\twindow.addEventListener(\"message\", function (e) {\n\t\t\tconst data = JSON.parse(e.data);\n\t\t\tif(data.infoMsg != undefined) {\n\t\t\t\tconst infoAlert = data.infoMsg;\n\t\t\t\tinfoMsg(infoAlert);\n\t\t\t}\n\t\t});\n\/\/ for donation form fill up error alert\n\t\tfunction alert_msg(msg) {\n\t\t\tSwal.fire({\n\t\t\t\ticon: \"error\",\n\t\t\t\ttitle: msg,\n\t\t\t});\n\t\t}\n\t\twindow.addEventListener(\"message\", function (e) {\n\t\t\tconst data = JSON.parse(e.data);\n\t\t\tif(data.errorMsg != undefined) {\n\t\t\t\tconst myAlert = data.errorMsg;\n\t\t\t\talert_msg(myAlert);\n\t\t\t}\n\t\t});\n\n<\/script>\n\n<style>\n.swal2-confirm {\n  background: #005667 !important;\n}\n<\/style>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_header_footer","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"class_list":["post-769","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.azharacademy.org\/home\/wp-json\/wp\/v2\/pages\/769","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.azharacademy.org\/home\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.azharacademy.org\/home\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.azharacademy.org\/home\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.azharacademy.org\/home\/wp-json\/wp\/v2\/comments?post=769"}],"version-history":[{"count":16,"href":"https:\/\/www.azharacademy.org\/home\/wp-json\/wp\/v2\/pages\/769\/revisions"}],"predecessor-version":[{"id":792,"href":"https:\/\/www.azharacademy.org\/home\/wp-json\/wp\/v2\/pages\/769\/revisions\/792"}],"wp:attachment":[{"href":"https:\/\/www.azharacademy.org\/home\/wp-json\/wp\/v2\/media?parent=769"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}