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
| $('.cart_btn').mousedown(function(event){ | |
| event.stopPropagation(); | |
| event.preventDefault(); | |
| 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
| http://jsfiddle.net/gt720/qpjxb0f5/ |
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
| document.documentElement.clientWidth / document.documentElement.clientHeight | |
| document.body.clientWidth / document.body.clientHeight |
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
| <svg width="200" height="200"> | |
| <defs><mask id="canTopMask"> | |
| <image width="200" height="200" xlink:href="img_4.png"></image> | |
| </mask></defs> | |
| <image mask="url(#canTopMask)" width="200" height="200" xlink:href="img_1.jpg"></image> | |
| </svg> | |
| http://peterhrynkow.com/how-to-compress-a-png-like-a-jpeg/ |
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="wrapper"> | |
| <div class="item"> | |
| <img src="" alt="" /> | |
| </div> | |
| </div> | |
| *{ | |
| padding: 0; | |
| margin: 0; | |
| vertical-align: top; |
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^="/#"]').click(function(){ | |
| var target = $(this).attr('href'); | |
| var targetslice = target.slice(target.indexOf('#'), 30) | |
| $('html, body').animate({scrollTop: $(targetslice).offset().top}, 800); | |
| 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
| var element = $(".menu_scrol"), display; | |
| $(window).scroll(function () { | |
| display = $(this).scrollTop() >= 200; | |
| console.log(display) | |
| display != element.css('opacity') && element.stop().animate({ 'opacity': display }, 200); | |
| }); |
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
| // при уменьшении размера окна | |
| @media screen and (max-width: 1180px) { | |
| } |
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
| <template> | |
| <div class="form-group col-md-12"> | |
| <div class="row"> | |
| <div class="col-md-4"> | |
| <multiselect v-model="selectedItem" :options="options"></multiselect> | |
| </div> | |
| </div> | |
| <hr> | |
| <div class="row "> |
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 | |
| class Proxy | |
| { | |
| /** | |
| * Ссылка на файл с обновляемым списком бесплатных прокси | |
| */ | |
| const PROXY_FILE_DOWNLOAD_URL = 'https://raw.githubusercontent.com/clarketm/proxy-list/master/proxy-list.txt'; | |
| /** |
OlderNewer