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 changeImgToBg(imgSel, parentSel) { | |
| if (!imgSel) { | |
| console.info('no img selector'); | |
| return false; | |
| } | |
| let $parent, | |
| _this; | |
| $(imgSel) |
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
| $(“.sale-menu”).hover(function () { | |
| $(‘.sale-sub-menu’).fadeIn(500); | |
| }, function(){ | |
| $(“.sale-sub-menu”).hide(); | |
| }); | |
| $(“.sale-sub-menu”).hover(function () { | |
| $(‘.sale-sub-menu’).show(); | |
| }, function(){ | |
| $(“.sale-sub-menu”).fadeOut(500); | |
| }); |
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 () { | |
| $('.toggles button').click(function(){ | |
| var get_id = this.id; | |
| var get_current = $('.posts .' + get_id); | |
| $('.post').not(get_current).hide(500); | |
| get_current.show(500); | |
| }); | |
| $('#showall').click(function(){ |
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="related-articles"> | |
| <h3>Related Blog Posts</h3> | |
| {% assign articlesFound = 0 %} | |
| {% for article in blogs.living-orange-blog.articles %} | |
| {% if article.tags contains collection.title %} | |
| <div class="related-article"> | |
| {% if article.image %} | |
| <div class="article-image-box"> | |
| <a href="{{ article.url }}"> |
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 class="brands-sub-menu"> | |
| <div class="brands-sub-menu-wrapper"> | |
| {% for link in linklists.brands.links limit:18 %} | |
| {% assign collection = link.object %} | |
| <div class="brands-sub-menu-item"> | |
| <a href="{{ link.url }}" class=""> | |
| {% if collection.image %} | |
| <img src="{{ collection | img_url: image_size }}" alt="{{ link.title | escape }}"> | |
| {% else %} |
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
| /* ============================ */ | |
| /* POST FILTER */ | |
| /* ============================ */ | |
| $('.post-filter__header li').on('click', function () { | |
| $('.post-filter__header li').removeClass('active'); | |
| $(this).addClass('active'); | |
| }); |
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
| // Initialize and add the map | |
| function initMap() { | |
| var brooklyn = {lat: 41.893927, lng: -87.640367}; | |
| var icon_marker = { | |
| url: "./assets/images/location-02.png", | |
| origin: new google.maps.Point(0, 0), | |
| size: new google.maps.Size(17, 23), | |
| scaledSize: new google.maps.Size(17, 23), | |
| } | |
| // The location of Uluru |
NewerOlder