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

(-)a/koha-tmpl/intranet-tmpl/prog/en/lib/jquery/plugins/jquery.fixFloat.js (-4 / +4 lines)
Lines 26-32 Link Here
26
      tbh.width(tbh.width());
26
      tbh.width(tbh.width());
27
      tbh.css({'position':'absolute'});
27
      tbh.css({'position':'absolute'});
28
    }
28
    }
29
      tbh.css({'z-index':1000});
30
29
31
    if(options.enabled){
30
    if(options.enabled){
32
      $(window).scroll(function(){
31
      $(window).scroll(function(){
Lines 48-54 Link Here
48
        if(fixMe){
47
        if(fixMe){
49
          var cssObj = {
48
          var cssObj = {
50
            'position' : 'fixed',
49
            'position' : 'fixed',
51
            'top' : '0px'
50
            'top' : '0px',
51
            'z-index' : '1000'
52
          }
52
          }
53
          tbh.css(cssObj);
53
          tbh.css(cssObj);
54
          tbh.addClass("floating");
54
          tbh.addClass("floating");
Lines 56-62 Link Here
56
        if(repositionMe){
56
        if(repositionMe){
57
          var cssObj = {
57
          var cssObj = {
58
            'position' : 'absolute',
58
            'position' : 'absolute',
59
            'top' : originalOffset
59
            'top' : originalOffset,
60
            'z-index' : '1'
60
          }
61
          }
61
          tbh.css(cssObj);
62
          tbh.css(cssObj);
62
          tbh.removeClass("floating");
63
          tbh.removeClass("floating");
63
- 

Return to bug 7135