Here is what worked for me:

Following problem:

IE 7 version xxxx.11 do produce a failure where the thickbox will be
positioned by the absolulte top postion of the browser NOT the actuall
scrolled position this will place the thickbox on top even if you have
scrolled down to the bottom of the page.

in IE 7 xxxx.13 this Problem doesnt come up anymore.

Or just make this chagens:

function tb_position() {
        $("#TB_window").css({marginLeft: '-' + parseInt((TB_WIDTH / 2),10) +
'px', width: TB_WIDTH + 'px'});
  if ( !(jQuery.browser.msie && jQuery.browser.version < 7)) { // take
        away IE6

          /*$("#TB_window").css({marginTop: '-' +
parseInt((TB_HEIGHT / 2),10) + 'px'}); */<<<<< DELETE OR COMMENT THIS

  }
  else {
          var scrolledDown = $(document).scrollTop()-200;

         /* $("#TB_window").css("margin-top", scrolledDown +"px");
*/   <<<<< DELETE OR COMMENT THIS

  }
}


so this disables the top margin calculation, it seems that this is the
problem and the thickbox will place the box in absolute middle by the
actuall scrolled position:

Reply via email to