This file contains 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
Анимация при скроллинге страницы | |
/** | |
** Handling animation when page has been scrolled | |
**/ | |
animatedContent : function(){ | |
$("[data-animation]").each(function() { |
This file contains 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
<dl class="accordion"> | |
<dt>Заголовок</dt> | |
<dd> | |
Контент | |
</dd> | |
<dt>Заголовок</dt> |
This file contains 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="wrapp_tabs"> | |
<ul class="tabs_list"> | |
<li class="tabs_item active"> | |
</li> | |
<li class="tabs_item"> |
This file contains 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.input_file_box | |
a(href="javascript:;").files_btn | |
| Прикрепить документ | |
span.name_file | |
a(href="javascript:;" class="clear_file") |
This file contains 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
<section> | |
<select id="selectOptions"> | |
<option data-name="man"> | |
man1 | |
</option> | |
<option data-name="woman"> | |
woman | |
</option> | |
<option data-name="child" selected> |
This file contains 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
<ul class="navigation clearfix"> | |
<li> | |
<a href="#block1" class="navigation_item current">Scroll block 1</a> | |
</li> | |
<li> | |
<a href="#block2" class="navigation_item">Scroll block 2</a> | |
</li> |
This file contains 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 clock() { | |
var d = new Date(); | |
var month_num = d.getMonth() | |
var day = d.getDate(); | |
var hours = d.getHours(); | |
var minutes = d.getMinutes(); | |
var seconds = d.getSeconds(); | |
month=new Array("01", "02", "03", "04", "05", "06", | |
"07", "08", "09", "10", "11", "12"); |
This file contains 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
// sticky | |
function asideSticky() { | |
// body... | |
var asideItem = $('.aside_navigation'), | |
asideItemOffset = asideItem.offset().top; | |
$(window).scroll(function(){ | |
if( $(this).scrollTop() > asideItemOffset ){ | |
asideItem.addClass('sticky'); |
This file contains 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 video_kitchen = $('#video_kitchen'); | |
$('#custom_play_kitchen').on("click", function(){ | |
$('#video_wrap_kitchen').toggleClass('active'); | |
if(video_kitchen[0].paused) { | |
video_kitchen[0].play(); | |
} | |
else { |
This file contains 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
// ========================================================================== | |
// Spy category | |
// ========================================================================== | |
if (screen.width <= 720) { | |
function spyCategory() { | |
$('.spy_category_item').each( function () { |
OlderNewer