The Wedding Of
Ella & Sabrani
3 MARET 2024
SPECIAL INVITATION :
const queryString = window.location.search;
const urlParams = new URLSearchParams(queryString);
const to = urlParams.get('to');
const pdflink = urlParams.get('pdflink');
document.getElementById("to").innerHTML = to;
//Script Custom Nama Tamu by Andy dari WeddingPress
var urlParams = new URLSearchParams(window.location.search);
if (urlParams) {
var textElement = document.getElementById('namatamu');
var defaultText = textElement.innerHTML;
var newText = defaultText;
if (urlParams.has('to')) {
var toValue = urlParams.get('to');
newText = newText.replace(/Tamu Undangan/g, toValue);
}
if (urlParams.has('dear')) {
var dearValue = urlParams.get('dear');
newText = newText.replace(/Tamu Undangan/g, dearValue);
}
if (urlParams.has('kepada')) {
var kepadaValue = urlParams.get('kepada');
newText = newText.replace(/Tamu Undangan/g, kepadaValue);
}
textElement.innerHTML = newText;
}
03 . 03 . 24
ELLA - SABRANI
SLEMAN - DIY
Promise
Maha Suci Allah yang telah menciptakan manusia dengan berpasang-pasangan. Dengan memohon Rahmat dan Ridho Allah SWT, kami bermaksud mengundang Saudara/i dalam acara resepsi pernikahan kami.
(QS Ar-Rum : 21)
Countdown & Streaming
- 00Hari
- 00Jam
- 00Menit
- 00Detik
Virtual Wedding
Klik Disini Untuk Live Streaming
Virtual Wedding
We regret to inform you that considering the Covid-19 pandemic, not all friends are allowed to attend our wedding. We’re still utterly in love, but it’s important to us that everyone stays safe, so we plan to publish our wedding virtually via Live Instagram that you can join through the following link:
Live Stream
Love Gift
Tanpa mengurangi rasa hormat, bagi anda yang ingin memberikan tanda kasih untuk mempelai, dapat melalui virtual account atau E-wallet
PILIH REKENING
BNI A/n Sabrani
function copyDropdown(){var dropdown=document.getElementById("dropdown");var selectedOption=dropdown.options[dropdown.selectedIndex].value;var tempInput=document.createElement("input");tempInput.value=selectedOption;document.body.appendChild(tempInput);tempInput.select();document.execCommand("copy");document.body.removeChild(tempInput);alert("Rekening berhasil disalin: "+selectedOption)} .container{display:flex}#Dropdown{float:left;color:#000}select{border-radius:20;font-family:'roboto' font-weight:700;font-size:11px;width:70%;height:40px;border-color:#000;color:#000000;background-color:#fff}select:focus{outline:none;border-color:#ffffff}#copy-btn{margin-left:10px;float:right;border-radius:20;font-family:'roboto' font-weight:700;font-size:10px;border:solid;border-width:1px;height:40px;border-color:#000000;color:#000000;width:28%}#copy-btn:hover{border-radius:0;font-family:'roboto' font-weight:700;font-size:11px;height:40px;border-color:#ffffff;color:#000000;background-color:#ffffff}#copy-btn:focus{outline:none}RSVP
*Kepada tamu undangan diharapkan untuk mengisi form kehadiran di bawah ini
Merupakan suatu kebahagiaan dan kehormatan bagi kami, apabila Bapak/Ibu/Saudara/i, berkenan hadir dan memberikan do’a restu kepada Kami.
See You on Our Big Day
Ella & Sabrani
window.onbeforeunload = function() {
window.scrollTo(0, 0);
};
var isSectionLocked = true; // Menyimpan status kunci tampilan section
// Mengunci tampilan section pertama saat halaman dimuat
window.addEventListener('DOMContentLoaded', function() {
lockSection();
});
// Fungsi untuk mengunci tampilan section
function lockSection() {
if (isSectionLocked) {
disableScrolling();
document.body.style.position = "fixed";
document.body.style.overflowY = "scroll";
document.body.style.height = "100vh";
document.getElementById("section-cover").style.width = "100vw"; // Menambahkan gaya untuk membuat cover full width
}
}
// Fungsi untuk membuka tampilan section
function unlockSection() {
enableScrolling();
document.body.style.position = "";
document.body.style.overflowY = "";
document.getElementById("section-cover").style.width = ""; // Menghapus gaya untuk mengembalikan lebar cover ke nilai aslinya
}
document.getElementById("tombol-buka").onclick = function() {
unlockSection();
playAudio();
};
function disableScrolling() {
var x = window.scrollX;
var y = window.scrollY;
window.onscroll = function() {
window.scrollTo(x, y);
};
}
function enableScrolling() {
window.onscroll = null;
}
function playAudio(){
var isYT = false;
if(document.body.contains(document.getElementById("song"))) {
document.getElementById("song").play();
isYT = false;
} else {
isYT = true;
player.playVideo();
}
}
$(document).ready(function(){
$('section-cover').click(function(){
var hidden = $('.tombol-buka');
if (hidden.hasClass('visible')){
hidden.animate({"top":"-1000px"}, "slow").removeClass('visible');
} else {
hidden.animate({"top":"-1000px"}, "slow").addClass('visible');
}
});
});
document.addEventListener('DOMContentLoaded', function() {
jQuery(function($){
$('.clicktoclose').click(function(){
$(this).parents('.closeclick').slideUp(1500);
});
}); });
.clicktoclose{
cursor: pointer;
}