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
| js BX.onCustomEvent('OnBasketChange'); |
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 slidePageNavClass() { | |
| var $nav = ".js-slide-nav"; | |
| function onScroll() { | |
| var $scroll = $(document).scrollTop(); | |
| $($nav + " a").each(function() { | |
| var $hash = $(this).attr("href"); | |
| var $target = $($hash); | |
| if($target.position().top <= $scroll) { |
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 newsBackground() { | |
| var | |
| $color = $(".js-bg"), | |
| $parammColor, | |
| $pattern, | |
| $result, | |
| $rgba, | |
| $opacity = .7; | |
| $color.each(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
| .grid:before | |
| content: "" | |
| width: 1176px | |
| margin: auto | |
| position: fixed | |
| top: 0 | |
| bottom: 0 | |
| left: 0 | |
| right: 0 | |
| z-index: 99999 |
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
| -ms-interpolation-mode: nearest-neighbor | |
| image-rendering: -webkit-optimize-contrast | |
| image-rendering: -webkit-crisp-edges | |
| image-rendering: -o-crisp-edges |
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 mainSlider() { | |
| //Настройки | |
| var | |
| $slideBox = $(".main-slider"), | |
| $slideCount = $slideBox.find(".slide").length, | |
| $slideCurrent = 0, | |
| $slidePrev = $(".m-prev"), | |
| $slideNext = $(".m-next"); | |
| //Пагинация |
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> | |
| $(function() { | |
| var arr = ["one", "to", "three", "for", "macbook", "windows"]; | |
| var length = arr.length; | |
| var i = 1; | |
| var test = setInterval(function(index) { | |
| if(i <= length) { | |
| $(".content").append(i++ + "<br>" + arr[i - 2] + "<br><br>"); | |
| } else { | |
| i = 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
| function sliderMain() { | |
| var $slider = $('.main-slider'); | |
| if ($slider.length) { | |
| $slider.iosSlider({ | |
| infiniteSlider: true, | |
| autoSlide: true, | |
| autoSlideTimer: 2000, | |
| navPrevSelector: $('.main-prev'), | |
| navNextSelector: $('.main-next'), |
NewerOlder