WordPress.org

Make WordPress Core

Changeset 10427


Ignore:
Timestamp:
01/24/09 11:57:15 (5 years ago)
Author:
azaozz
Message:

Fix Thickbox positioning for browsers pretending to be IE6, props Denis-de-Bernardy, fixes #8933

Location:
branches/2.7/wp-includes
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/2.7/wp-includes/js/thickbox/thickbox.css

    r9842 r10427  
    3434.TB_overlayBG { 
    3535    background-color:#000; 
     36    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=75)"; 
    3637    filter:alpha(opacity=75); 
    3738    -moz-opacity: 0.75; 
  • branches/2.7/wp-includes/js/thickbox/thickbox.js

    r7325 r10427  
    282282 
    283283function tb_position() { 
     284var isIE6 = typeof document.body.style.maxHeight === "undefined"; 
    284285jQuery("#TB_window").css({marginLeft: '-' + parseInt((TB_WIDTH / 2),10) + 'px', width: TB_WIDTH + 'px'}); 
    285     if ( !(jQuery.browser.msie && jQuery.browser.version < 7)) { // take away IE6 
     286    if ( ! isIE6 ) { // take away IE6 
    286287        jQuery("#TB_window").css({marginTop: '-' + parseInt((TB_HEIGHT / 2),10) + 'px'}); 
    287288    } 
  • branches/2.7/wp-includes/script-loader.php

    r10170 r10427  
    104104    $scripts->add( 'jquery-hotkeys', '/wp-includes/js/jquery/jquery.hotkeys.js', array('jquery'), '0.0.2' ); 
    105105    $scripts->add( 'jquery-table-hotkeys', '/wp-includes/js/jquery/jquery.table-hotkeys.js', array('jquery', 'jquery-hotkeys'), '20081128' ); 
    106     $scripts->add( 'thickbox', '/wp-includes/js/thickbox/thickbox.js', array('jquery'), '3.1-20080430'); 
     106    $scripts->add( 'thickbox', '/wp-includes/js/thickbox/thickbox.js', array('jquery'), '3.1-20090123'); 
    107107    $scripts->add( 'swfupload', '/wp-includes/js/swfupload/swfupload.js', false, '2.2.0-20081031'); 
    108108    $scripts->add( 'swfupload-degrade', '/wp-includes/js/swfupload/plugins/swfupload.graceful_degradation.js', array('swfupload'), '2.2.0-20081031'); 
Note: See TracChangeset for help on using the changeset viewer.