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 ($(window).scrollTop() >= 300) { | |
| $('nav').addClass('fixed-header'); | |
| } | |
| else { | |
| $('nav').removeClass('fixed-header'); | |
| } | |
| }); |
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
| $colors: $red, $blue, $accent | |
| @for $i from 1 through length($colors) | |
| .carousel-services .owl-item:nth-child(#{length($colors)}n+#{$i}) | |
| background-color: nth($colors, $i) |
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
| //Resize Window | |
| function onResize() { | |
| }; | |
| var doit; | |
| doit = setTimeout(onResize, 400); | |
| window.onresize = function() { | |
| clearTimeout(doit); | |
| doit = setTimeout(onResize, 400); | |
| }; |
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 recom = $('.recomm-slides'); | |
| recom.owlCarousel({ | |
| }); | |
| // Listen to owl events: | |
| recom.on('changed.owl.carousel', function (event) { | |
| var indexRecom = event.item.index; | |
| $('.recomm-problems li').removeClass('active'); | |
| $('.recomm-problems li').eq(indexRecom).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
| var RevThumbsSlider = $('.reviews-slider-thumbs'); | |
| RevThumbsSlider.owlCarousel({ | |
| }); | |
| $('.reviews-slider-thumbs .owl-item').on('click',function(){ | |
| var indexThumb = $(this).index(); | |
| RevMainSlider.trigger('to.owl.carousel', [ indexThumb, 300, true ]); | |
| }); |
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
| HTML: | |
| <form> | |
| <div class="success"><span>Спасибо за заявку!</span></div> | |
| <!-- Hidden Required Fields --> | |
| <input type="hidden" name="project_name" value="Site Name"> | |
| <input type="hidden" name="admin_email" value="admin@mail.com"> | |
| <input type="hidden" name="form_subject" value="Form Subject"> | |
| <!-- END Hidden Required Fields --> |
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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Animation</title> | |
| <style> | |
| body { | |
| margin: 0px; | |
| background: #000; | |
| } |
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
| $(".top-navbar a[href*=\\#]").click(function(){ | |
| var ths = $(this); | |
| $("html, body").stop().animate({ | |
| scrollTop: $(ths.attr("href")).offset().top + 30 | |
| }, 1000); | |
| }); |
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='#bottom']").click(function() { | |
| $("html, body").animate({ scrollTop: $(document).height() }, "slow"); | |
| 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
| Tabs: | |
| [ | |
| {"caption":"Tab Title", "fields": [ | |
| {"field":"title","caption":"Name"}, | |
| {"field":"description","caption":"Description","inputTVtype":"textarea"}, | |
| {"field":"imageTV","caption":"Photo","inputTV":"imageTV"} | |
| ]} | |
| ] | |
| Table: |
NewerOlder