var chto_id = $(this).parent().attr('id');
var chto = $(this).parent();
var idExists = false;
$('.stol').each(function(){
if(this.id == chto_id){
idExists = true;
}
});
var pText = $(chto).find("#rectangle p").text();
var colText = $(chto).find("#fuel").text();
var horText = $(chto).find("span#horses").text();
if (idExists){
console.log("true")
} else {
$('.doska').append('<div class="stol" id='+chto_id+'> <div id="dosname"> </div> <div id="dosfuel"> </div> <div id="doshor"></div></div>');
};
if($("section").is("#sticky_head")){
var win = $(window),
nav = $("#sticky_head"),
pos = nav.offset().top,
scrollTop = win.scrollTop(),
sticky = function(){
var _scrollTop = win.scrollTop()
if(_scrollTop < scrollTop){/*движение вверх*/}
if(_scrollTop > scrollTop){/*движение вниз*/}
scrollTop = _scrollTop
};
win.scroll(sticky);
}
background: -webkit-linear-gradient(bottom, #87C03B, #98D647);
background-image: -webkit-linear-gradient(bottom, #87C03B, #98D647);
.product-frame:hover * {
opacity: 0.7;
}
.thumbnail-container {opacity:1}
.content-description {opacity:1}
gulpif(<condition>,<if-condition-true-plugin>,<if-condition-false-plugin>)