NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name Redmine Gantt PowerUp // @description Extra features for Gantt-Charts. // @include https://leipzig.on-test.de/projects/local-marketing-tool/issues/gantt // @version 1.6 // ==/UserScript== $(document).ready(function() { $(document).scroll(function(){ console.log($(this).scrollTop() + ' / ' + $('#content').offset().top); if($(this).scrollTop() >= $('#content').offset().top + 280) { $("#gantt_area").addClass("fixhead"); } else { $("#gantt_area").removeClass("fixhead"); } }); });