View | Details | Raw Unified | Return to bug 16400
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/lib/jquery/plugins/jquery.fixFloat.js (-6 / +4 lines)
Lines 36-44 Link Here
36
                    'top': originalOffset
36
                    'top': originalOffset
37
            });
37
            });
38
        }
38
        }
39
        tbh.css({
40
            'z-index': 1000
41
        });
42
39
43
        if (options.enabled) {
40
        if (options.enabled) {
44
            $(window).scroll(function () {
41
            $(window).scroll(function () {
Lines 49-62 Link Here
49
                if (fixMe) {
46
                if (fixMe) {
50
                    tbh.css({
47
                    tbh.css({
51
                        'position': 'fixed',
48
                        'position': 'fixed',
52
                            'top': '0'
49
                            'top': '0',
50
                        'z-index': '1000'
53
                    });
51
                    });
54
                    tbh.addClass("floating");
52
                    tbh.addClass("floating");
55
                }
53
                }
56
                if (repositionMe) {
54
                if (repositionMe) {
57
                    tbh.css({
55
                    tbh.css({
58
                        'position': 'absolute',
56
                        'position': 'absolute',
59
                            'top': originalOffset
57
                            'top': originalOffset,
58
                        'z-index': '1'
60
                    });
59
                    });
61
                    tbh.removeClass("floating");
60
                    tbh.removeClass("floating");
62
                }
61
                }
63
- 

Return to bug 16400