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 | |
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
<title>HTML Template</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<style> | |
body { | |
width: 100% !important; |
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
$(".ej-tab_item").not(":first").hide(); | |
$(".ej-wrapper .ej-tab").click(function() { | |
$(".ej-wrapper .ej-tab").removeClass("ej-active").eq($(this).index()).addClass("ej-active"); | |
$(".ej-tab_item").hide().eq($(this).index()).fadeIn(); | |
$(".carousel-hitu__inner-" + $(this).index()).slick("reinit"); | |
}).eq(0).addClass("ej-active"); | |
$('.carousel-hitu__inner-0').slick({ | |
infinite: true, | |
speed: 700, |
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
$(".s-delivery .delivery-wrap__inner").on("click","a", function (event) { | |
//отменяем стандартную обработку нажатия по ссылке | |
event.preventDefault(); | |
//забираем идентификатор бока с атрибута href | |
var id = $(this).attr('href'), | |
//узнаем высоту от начала страницы до блока на который ссылается якорь | |
top = $(id).offset().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
var src = "___library/7-kazan/1/*"; | |
var dst = "_ready"; | |
var gulp = require('gulp'), | |
imagemin = require('gulp-imagemin'), | |
cache = require('gulp-cache'), | |
del = require('del'), | |
imageResize = require('gulp-image-resize'), | |
watermark = require("gulp-watermark"), | |
rename = require("gulp-rename"); |
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 dec = $('.footer__bottom'); | |
if (document.cookie.indexOf('footer__bottom=1') !== -1) { | |
dec.addClass('hide'); | |
dec.find('.txt-d').html(''); | |
} | |
$('.footer__bottom').click(function() { | |
if (dec.attr('class') === 'footer__bottom hide') |
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-conference.parttwo > .item-conference__head + .item-conference__content (display:none) | |
$(".item-conference.parttwo .item-conference__head").not(".active").click(function(){ | |
var curBlock = $(this).siblings(".item-conference.parttwo .item-conference__content"); | |
if (curBlock.parent().children(".item-conference__head.active").length == 0) { | |
$(".item-conference.parttwo .item-conference__head").removeClass("active"); | |
$(this).addClass("active"); | |
$(".item-conference.parttwo .item-conference__content").not(curBlock).hide(); |
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 --> | |
<div> | |
<a href="" class="splLink">Link 1</a> | |
<div class="splCont">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</div> | |
</div> | |
<div> | |
<a href="" class="splLink">Link 2</a> | |
<div class="splCont">Sed ut perspiciatis, unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam eaque ipsa, quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt, explicabo.</div> | |
</div> |
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
$(".s-partners__content").not(":first").hide(); | |
$(".s-partners .carousel-brand").click(function() { | |
$(".s-partners .carousel-brand").removeClass("activee"); | |
$(this).addClass("activee"); | |
var id = $(this).data('id'); | |
console.log(id); | |
$(".partners-content-wrap").find(".s-partners__content").hide(); | |
$(".item-" + id).show(); | |
}); |
NewerOlder