This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ini_set('display_startup_errors', 1); | |
| ini_set('display_errors', 1); | |
| error_reporting(-1); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <label for="field-phone">Phone Number</label> | |
| <input type="text" size="25" NAME="PHNE" id="field-phone" VALUE="{PHNE}" placeholder="(Ex. 555-123-4444)" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //changes exp date based on effort day | |
| function updateExpDate() { | |
| var expDate = document.getElementById('expiration-date'); | |
| if (getQueryVariable('effort') === 'lc') { | |
| expDate.textContent = '11/1/2019'; | |
| } else { | |
| expDate.textContent = '10/31/2019'; | |
| } | |
| //console.log(expDate); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function() { | |
| var pageTitle = document.getElementsByTagName('title')[0]; | |
| var lastName = getQueryVariable('last_name'); | |
| var pageDescription = document.head.querySelector("[name~=description]"); | |
| //console.log(pageDescription.content); | |
| if(lastName.toLowerCase() === 'brown') { | |
| pageTitle.textContent = 'Brown Last Name Origin & Surname Meaning | GenealogyBank'; | |
| pageDescription.content = 'Discover the Brown last name meaning & browse Brown family records to uncover details about your family tree. Learn more about the Brown last name origin!'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var data = { | |
| 'day': (newDate == "2018/11/23") ? 'Black Friday' : (newDate == "2018/11/26") ? 'Cyber Monday' : 'Pre-Black Friday', | |
| 'experation': (newDate == "2018/11/23") ? '11/23/2018' : (newDate == "2018/11/26") ? '11/26/2018' : '11/23/2018', | |
| "swapDay": function() { | |
| var dayElements = document.getElementsByClassName('day'); | |
| var expireElements = document.getElementsByClassName('experation'); | |
| var i; | |
| var j; | |
| for(i = 0; i < dayElements.length; i++) { | |
| dayElements[i].innerText = data.day; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div id="legal-notice" style="max-height:0;opacity:0;overflow:hidden;transition:max-height 2s ease 0s;"> | |
| By clicking below to sign up, you acknowledge that you have read and understand our <a href="https://www.genealogybank.com/information/privacy-policy" target="_blank">Privacy Policy</a> and <a href="https://www.genealogybank.com/information/terms-of-use" | |
| target="_blank">Terms of Use</a>. | |
| </div> | |
| <script> | |
| (function(){ | |
| var legalNotice = document.getElementById('legal-notice'); | |
| var emailField = document.getElementById('EMAL'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <select name="expiremonth" id="expiremonth" class="form-control expiremonth" onchange="setExp(Package)"></select> | |
| <select name="expireyear" id="expireyear" class="form-control expireyear" onchange="setExp(Package)"></select> | |
| <script> | |
| (function() { | |
| var expiremonth = document.getElementById('expiremonth'); | |
| var expireyear = document.getElementById('expireyear'); | |
| var expDate = new Date(); | |
| var expYear = expDate.getFullYear(); | |
| var expMonth = expDate.getMonth(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script> | |
| $(document).ready(function() { | |
| var overlay = '<div id="overlay"></div>'; | |
| //var modal = document.getElementById('modal'); | |
| var modal = '<div id="modal"><h3>Temporarily Unavailable.</h3>We are working to resolve the issue. Please check back soon.</div>'; | |
| $('body').append(modal, overlay); | |
| $('#overlay').css({ | |
| 'z-index' : '999', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //get and display common data | |
| (function() { | |
| //common data for landing pages | |
| //get the json | |
| var xhr = new XMLHttpRequest(); | |
| var url = location.origin + '/static/includes/common/productstats.js'; | |
| xhr.onreadystatechange = function() { | |
| if (xhr.readyState == 4) { | |
| var data = JSON.parse(xhr.responseText); |
NewerOlder