eaf185aa
Виталий
Веталь
|
1
|
$(document).ready(function () {
|
33fdc9a3
Виталий
Веталь
|
2
|
// $( ".wrapper_all" ).append( $('.text_seo_products') );
|
eaf185aa
Виталий
Веталь
|
3
4
5
6
7
8
9
|
$('.read_more_seo').click(function (e) {
e.preventDefault()
$('.text_seo').removeClass('hidden_seo')
$(this).remove()
})
})
|
f35dd76d
Виталий
Веталь
|
10
|
window.onload = function() {
|
36706045
Виталий
Веталь
|
11
12
13
14
15
16
17
|
autoHeight();
function autoHeight() {
footerBottom();
resizeFooterBottom();
function footerBottom(){
|
f35dd76d
Виталий
Веталь
|
18
19
20
21
22
23
24
|
var heightHeader1 = $('nav.top').outerHeight()
var heightHeader2 = $('.header').outerHeight()
var heightHeader3 = $('.menu').outerHeight()
var heightHeader = (heightHeader1+heightHeader2+heightHeader3)
var heightFooter1 = $('.bottom').outerHeight()
var heightFooter2 = $('.fotter').outerHeight()
var heightFooter = (heightFooter1+heightFooter2)
|
36706045
Виталий
Веталь
|
25
|
var windowHeight = $(window).height()
|
ebe47416
Виталий
Веталь
|
26
27
28
29
30
|
$('.wrapper_all').css({minHeight:(windowHeight-heightHeader-heightFooter)-60})
if(($('.wrapper_all .site-error').length)>=1) {
$('.wrapper_all').css({minHeight:(windowHeight-heightHeader-heightFooter)-70})
}
$('#bg').css({minHeight:windowHeight})
|
36706045
Виталий
Веталь
|
31
32
33
34
35
36
37
38
|
}
function resizeFooterBottom(){
$(window).resize(function(){
footerBottom();
})
}
}
|
f35dd76d
Виталий
Веталь
|
39
|
}
|
36706045
Виталий
Веталь
|
|
|