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 syntax = 'sass', // Syntax: sass or scss; | |
| gulpVersion = '4'; // Gulp version: 3 or 4 | |
| gmWatch = false; // ON/OFF GraphicsMagick watching "img/_src" folder (true/false). Linux install gm: sudo apt update; sudo apt install graphicsmagick | |
| var gulp = require('gulp'), | |
| gutil = require('gulp-util'), | |
| sass = require('gulp-sass'), | |
| browserSync = require('browser-sync'), | |
| concat = require('gulp-concat'), | |
| uglify = require('gulp-uglify'), |
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 | |
| /* | |
| Plugin Name: MyPlugin | |
| Plugin URI: http://maxx52.ru | |
| Description: First Plugin | |
| Version: 1.0 | |
| Autor: Maxx52 | |
| Autor URI: http://maxx52.ru | |
| */ |
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
| $('.item-sites-img').hover(function() { | |
| ths = $(this); | |
| lnk = ths.closest('.item-sites-img').find('.item-sites-title p'); | |
| lnk.css('display', 'block'); | |
| }, function() { | |
| lnk.css('display', 'none'); | |
| }); |
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-line').after('<div class="mobile-menu d-lg-none">'); | |
| $('.main-menu').clone().appendTo('.mobile-menu'); | |
| $('.mobile-menu-button').click(() => { | |
| $('.mobile-menu').stop().slideToggle(); | |
| }); |
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
| $("body").on('click', '[href*="#"]', function(e){ | |
| var fixed_offset = 1; | |
| $('html,body').stop().animate({ scrollTop: $(this.hash).offset().top - fixed_offset }, 1000); | |
| e.preventDefault(); | |
| }); |
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() > 100) { | |
| if ($('#upbutton').is(':hidden')) { | |
| $('#upbutton').css({opacity : 1}).fadeIn('slow'); | |
| } | |
| } else { $('#upbutton').stop(true, false).fadeOut('fast'); } | |
| }); | |
| $('#upbutton').click(function() { | |
| $('html, body').stop().animate({scrollTop : 0}, 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
| $likely-sz: 15px //Likely Font Size | |
| .likely, .likely__widget | |
| padding: 0 | |
| text-indent: 0 !important | |
| list-style: none !important | |
| font-weight: 400 | |
| font-family: Helvetica Neue,Arial,sans-serif | |
| .likely | |
| display: inline-block |
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
| .video | |
| position: relative | |
| padding-bottom: 56.25% | |
| padding-top: 25px | |
| height: 0 | |
| iframe | |
| border: none | |
| position: absolute | |
| top: 0 | |
| left: 0 |
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).ready(function() { | |
| $('#plus_tr').click(function() { | |
| var long = $('#long').val(); | |
| var diameter = $('.diameter').val(); | |
| var lot = $('.lot').val(); | |
| $.ajax({ | |
| type: "POST", | |
| url: "sql.php", | |
| data: {l:long,d:diameter}, | |
| success: function(data) { |
NewerOlder