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
| /*Rows items*/ | |
| if ($(window).width() < 768) { | |
| /*Row wrap clients*/ | |
| var $lines = $('.clients'), | |
| holder = []; | |
| $lines.each(function (i, item) { | |
| holder.push(item); |
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 $allVideos = $("iframe[src*='//player.vimeo.com'], iframe[src*='//www.youtube.com'], object, embed"), | |
| $fluidEl = $(".youtube-container"); | |
| $allVideos.each(function() { | |
| $(this) | |
| .attr('data-aspectRatio', this.height / this.width) | |
| .removeAttr('height') | |
| .removeAttr('width'); | |
| }); |
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
| $("img.lazy").unveil(200, function() { | |
| $(this).load(function() { | |
| this.style.opacity = 1; | |
| if ($(window).width() > 768) { | |
| $('.workers__item').matchHeight(); | |
| } | |
| }); | |
| }); |
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
| $('.messages span').on('click', function(){ | |
| $('.messages ').fadeOut(300); | |
| }); | |
| function explode(){ | |
| $('.messages').fadeOut(300); | |
| } | |
| setTimeout(explode, 5000); |
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 div = $("div").height(); | |
| var win = $(window).height(); | |
| if ($(window).height() < 760) { | |
| $('body').addClass('minheight'); | |
| } 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
| <a href="#" id="totop" class="innactive"><i class="demo-icon icon-up-open-big"></i></a> | |
| $("#totop").click(function() { | |
| $("html, body").animate({scrollTop: 0}, 1000); | |
| return false; | |
| }); |
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
| $(window).scroll(function() { | |
| if ($(this).scrollTop() > 180){ | |
| $('#header').addClass("sticky animated fadeInDown"); | |
| $('#totop').removeClass('innactive').addClass('active'); | |
| } else { | |
| $('#header').removeClass("sticky animated fadeInDown"); | |
| $('#totop').removeClass('active').addClass('innactive'); | |
| } | |
| }); |
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
| if ($(window).width() <= 768) { | |
| } if ($(window).width() > 768) { | |
| } |
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 UrlExists(url) { | |
| var http = new XMLHttpRequest(); | |
| http.open('HEAD', url, false); | |
| http.send(); | |
| return http.status!=404; | |
| } | |
| var loadNews = 1; |