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
/* Push the body and the nav over by 285px over | |
$('.nav.burger a').click(function() { | |
$('.hidden_menu').animate({ | |
left: "0px" | |
}, 200); | |
$('body').animate({ | |
left: "285px" | |
}, 200); | |
});*/ |
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 small = $(".from litle a img"), | |
big = $(".to big img"); | |
small.each(function(i, el) { | |
var next = i + 1 == small.size() ? 0 : i + 1; | |
$(el) | |
.click( | |
function(event) { | |
event.preventDefault(); | |
if (big.data("next") == next) return; | |
big.fadeTo(500, 0.1, 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
$(document).on('touchstart click', '.class', function() { | |
$(".menu_container").fadeIn(600) | |
}); | |
$(document).on('touchstart click', '.class to close', function() { | |
$(".menu_container").fadeOut(600) | |
}); |
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="cont"> | |
<ul> | |
<li> | |
<a href="#"> | |
<h3>title</h3> | |
</a> | |
<div class="hide_block"> | |
<div class="hide_block_inner"> | |
<div class="text">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Recusandae.</div> |
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
$(window).scroll(function() { | |
if ($(document).scrollTop() > 130) { | |
$("body").addClass("top_menu_small"); | |
} else { | |
$("body").removeClass("top_menu_small"); | |
} | |
}); |
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
<?php | |
$post = $wp_query->post; | |
if (in_category('cat_label_1')) { | |
include(TEMPLATEPATH.'/single-cat_label_1.php'); | |
} elseif (in_category('cat_label_2')) { | |
include(TEMPLATEPATH.'/single-cat_label_2.php'); | |
} | |
?> |
NewerOlder