Make WordPress Core


Ignore:
Timestamp:
11/14/2006 11:18:20 PM (19 years ago)
Author:
ryan
Message:

Inline uploader tweaks from mdawaffe. fixes #3360

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/upload-functions.php

    r4427 r4466  
    359359function wp_upload_admin_head() {
    360360    global $wp_locale;
    361     echo "<link rel='stylesheet' href='" . get_option('siteurl') . '/wp-admin/upload.css?version=' . get_bloginfo('version') . "' type='text/css' />\n";
     361    echo "<link rel='stylesheet' href='" . get_option('siteurl') . '/wp-admin/upload.css?version=' . get_bloginfo('version') . "a' type='text/css' />\n";
    362362    if ( 'rtl' == $wp_locale->text_direction )
    363         echo "<link rel='stylesheet' href='" . get_option('siteurl') . '/wp-admin/upload-rtl.css?version=' . get_bloginfo('version') . "' type='text/css' />\n";
     363        echo "<link rel='stylesheet' href='" . get_option('siteurl') . '/wp-admin/upload-rtl.css?version=' . get_bloginfo('version') . "a' type='text/css' />\n";
    364364    if ( 'inline' == @$_GET['style'] ) {
    365         echo "<style type='text/css'>\n";
    366         echo "\tbody { height: 15em; overflow: hidden; }\n";
    367         echo "\t#upload-content { overflow-y: auto; }\n";
    368         echo "\t#upload-file { position: absolute; }\n";
     365        echo "<style type='text/css' media='screen'>\n";
     366        echo "\t#upload-menu { position: absolute; z-index: 2; }\n";
     367        echo "\tbody > #upload-menu { position: fixed; }\n";
     368        echo "\t#upload-content { top: 2em; }\n";
     369        echo "\t#upload-file { position: absolute; top: 15px; }\n";
    369370        echo "</style>";
    370371    }
Note: See TracChangeset for help on using the changeset viewer.