aboutsummaryrefslogtreecommitdiff
path: root/web/scripts3.js
diff options
context:
space:
mode:
authorGravatar Ugnich Anton2013-01-01 18:18:05 +0700
committerGravatar Ugnich Anton2013-01-01 18:18:05 +0700
commit84e5ac3a172e15f11b04203cf9e93c9d5c8174ed (patch)
tree31e0a38f4d494bfc0d9772714d3f17ab599305e7 /web/scripts3.js
parentd95df2184dbb9931db3a5eea0f4ea41a59ca4214 (diff)
Yandex advertising
Diffstat (limited to 'web/scripts3.js')
-rw-r--r--web/scripts3.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/web/scripts3.js b/web/scripts3.js
index 8a33351e..ca1fafa1 100644
--- a/web/scripts3.js
+++ b/web/scripts3.js
@@ -391,14 +391,19 @@ $(document).ready(function() {
$(window).scroll(function() {
var windowTop = $(window).scrollTop();
var column=$('#column');
+ var rcol=$('#rcol');
if (stickyTop < windowTop) {
if(column.hasClass('fix')==false) {
column.removeClass('abs');
column.addClass('fix');
+ rcol.removeClass('abs');
+ rcol.addClass('fix');
}
} else if(column.hasClass('fix')==true) {
column.removeClass('fix');
column.addClass('abs');
+ rcol.removeClass('fix');
+ rcol.addClass('abs');
}
});
}