$(window).scroll(function(event){
var st = $(window).scrollTop();
if (st > 15 && st > lastScrollTop){
$('.header_top').addClass('hide');
}
if ((st - lastScrollTop) > 15) {
lastScrollTop = st;
}
if (st < lastScrollTop){
$('.header_top').removeClass('hide');
}
console.log(lastScrollTop + ' ' + st);
});
Warning: file_put_contents(/home/****/domains/****.ru/public_html/uploads/****-bitrix.csv): failed to open stream: No such file or directory in /home/****/domains/****.ru/public_html/download.php on line 11
$aaa = $product_attribute->get_data();
print_r($aaa);
Array ( [id] => 1 [name] => pa_mark [options] => Array ( [0] => 24 ) [position] => 0 [visible] => 1 [variation] => [is_visible] => 1 [is_variation] => 0 [is_taxonomy] => 1 [value] => )
Array ( [id] => 2 [name] => pa_width [options] => Array ( [0] => 25 ) [position] => 1 [visible] => 1 [variation] => [is_visible] => 1 [is_variation] => 0 [is_taxonomy] => 1 [value] => )
Array ( [0] => is_taxonomy [1] => get_taxonomy [2] => get_taxonomy_object [3] => get_terms [4] => get_slugs [5] => get_data [6] => set_id [7] => set_name [8] => set_options [9] => set_position [10] => set_visible [11] => set_variation [12] => get_id [13] => get_name [14] => get_options [15] => get_position [16] => get_visible [17] => get_variation [18] => offsetGet [19] => offsetSet [20] => offsetUnset [21] => offsetExists ) Array ( [0] => is_taxonomy [1] => get_taxonomy [2] => get_taxonomy_object [3] => get_terms [4] => get_slugs [5] => get_data [6] => set_id [7] => set_name [8] => set_options [9] => set_position [10] => set_visible [11] => set_variation [12] => get_id [13] => get_name [14] => get_options [15] => get_position [16] => get_visible [17] => get_variation [18] => offsetGet [19] => offsetSet [20] => offsetUnset [21] => offsetExists )