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
| let images = document.querySelectorAll(".imageObserve"); | |
| let observer = new IntersectionObserver((images) => { | |
| images.forEach((image) => { | |
| if (image.isIntersecting) { | |
| image.target.src = image.target.dataset.src; | |
| } | |
| }) | |
| }, { | |
| root: null, |
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
| let observer; | |
| let observerOptions = { | |
| root: null, | |
| rootMargin: "0px", | |
| threshold: 0.5 | |
| } | |
| let images = document.querySelectorAll(".imageObserve "); |
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
| /* | |
| * See: https://www.google.com/fonts/license/productsans | |
| */ | |
| /* cyrillic */ | |
| @font-face { | |
| font-family: 'Product Sans'; | |
| font-style: normal; | |
| font-weight: 400; | |
| src: local('Product Sans'), local('ProductSans-Regular'), url(https://fonts.gstatic.com/s/productsans/v9/HYvgU2fE2nRJvZ5JFAumwRdwxCXfZpKo5kWAx_74bHs.woff2) format('woff2'); | |
| unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; |
This file has been truncated, but you can view the full file.
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
| [ | |
| { | |
| "code": "AAA", | |
| "lat": "-17.3595", | |
| "lon": "-145.494", | |
| "name": "Anaa Airport", | |
| "city": "Anaa", | |
| "state": "Tuamotu-Gambier", | |
| "country": "French Polynesia", |
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
| <?php | |
| /* | |
| * Converts CSV to JSON | |
| * Example uses Google Spreadsheet CSV feed | |
| * csvToArray function I think I found on php.net | |
| */ | |
| header('Content-type: application/json'); | |
| // Set your CSV feed |