You are here

thickbox_ie.css in Thickbox 6

/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> thickbox Internet Explorer specific settings <<<--------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/

* html #TB_overlay { /* ie6 hack */
  position: absolute;
  height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}

* html #TB_window { /* ie6 hack */
  position: absolute;
  margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
}

* html #TB_load { /* ie6 hack */
  position: absolute;
  margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
}

* html #TB_HideSelect { /* ie6 hack */
  position: absolute;
  height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}

* html #TB_iframeContent { /* ie6 hack */
  margin-bottom: 1px;
}

.TB_overlayBG {
  -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=75)"; /* ie8 hack */
  filter: alpha(opacity=75); /* ie6 and ie7 hack */
}

#TB_HideSelect {
  -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; /* ie8 hack */
  filter: alpha(opacity=0); /* ie6 and ie7 hack */
}

File

thickbox_ie.css
View source
  1. /* ----------------------------------------------------------------------------------------------------------------*/
  2. /* ---------->>> thickbox Internet Explorer specific settings <<<--------------------------------------------------*/
  3. /* ----------------------------------------------------------------------------------------------------------------*/
  4. * html #TB_overlay { /* ie6 hack */
  5. position: absolute;
  6. height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
  7. }
  8. * html #TB_window { /* ie6 hack */
  9. position: absolute;
  10. margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
  11. }
  12. * html #TB_load { /* ie6 hack */
  13. position: absolute;
  14. margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
  15. }
  16. * html #TB_HideSelect { /* ie6 hack */
  17. position: absolute;
  18. height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
  19. }
  20. * html #TB_iframeContent { /* ie6 hack */
  21. margin-bottom: 1px;
  22. }
  23. .TB_overlayBG {
  24. -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=75)"; /* ie8 hack */
  25. filter: alpha(opacity=75); /* ie6 and ie7 hack */
  26. }
  27. #TB_HideSelect {
  28. -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; /* ie8 hack */
  29. filter: alpha(opacity=0); /* ie6 and ie7 hack */
  30. }