aboutsummaryrefslogtreecommitdiff
path: root/web/scripts3.js
diff options
context:
space:
mode:
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');
}
});
}