includes/clientside/static/faders.js
changeset 461 717e71109645
parent 419 b8b4e38825db
child 473 518bc2b214f1
equal deleted inserted replaced
460:3a1c99845ca8 461:717e71109645
    22     var thediv = document.createElement('div');
    22     var thediv = document.createElement('div');
    23     if(IE)
    23     if(IE)
    24       thediv.style.position = 'absolute';
    24       thediv.style.position = 'absolute';
    25     else
    25     else
    26       thediv.style.position = 'fixed';
    26       thediv.style.position = 'fixed';
    27     thediv.style.top = '0px';
    27     if ( IE )
       
    28     {
       
    29       var top = getScrollOffset();
       
    30       thediv.style.top = String(top) + 'px';
       
    31     }
       
    32     else
       
    33     {
       
    34       thediv.style.top = '0px';
       
    35     }
    28     thediv.style.left = '0px';
    36     thediv.style.left = '0px';
    29     thediv.style.opacity = '0';
    37     thediv.style.opacity = '0';
    30     thediv.style.filter = 'alpha(opacity=0)';
    38     thediv.style.filter = 'alpha(opacity=0)';
    31     thediv.style.backgroundColor = '#000000';
    39     thediv.style.backgroundColor = '#000000';
    32     thediv.style.width =  '100%';
    40     thediv.style.width =  '100%';