z-index在IE8中无法使用可排序的jQuery插件

z-index在IE8中无法使用可排序的jQuery插件,jquery,internet-explorer-8,jquery-ui-sortable,z-index,Jquery,Internet Explorer 8,Jquery Ui Sortable,Z Index,我正在使用jquerysortable插件将图像从一个框拖放到另一个框。这在ff、chrome和safari中运行良好,但在IE8中失败。当您开始拖动时,图像似乎会被发送到后面。我试图通过将z-index选项添加到可排序插件来解决这个问题,我尝试将其附加到层次结构主体中更高的节点。似乎在页面中的每个其他项目上设置z索引都可以解决这个问题,我还没有尝试过,我也不打算这样做,因为这会把事情搞得一团糟 因此,用户可以将图像从一个图库拖动到下一个图库 它应该如何工作的屏幕截图: 一些html:

我正在使用jquerysortable插件将图像从一个框拖放到另一个框。这在ff、chrome和safari中运行良好,但在IE8中失败。当您开始拖动时,图像似乎会被发送到后面。我试图通过将z-index选项添加到可排序插件来解决这个问题,我尝试将其附加到层次结构主体中更高的节点。似乎在页面中的每个其他项目上设置z索引都可以解决这个问题,我还没有尝试过,我也不打算这样做,因为这会把事情搞得一团糟

因此,用户可以将图像从一个图库拖动到下一个图库 它应该如何工作的屏幕截图:

一些html:

    <!--SECOND ARROCRDION ITEM -->
    <a class="flickr_accordeon_header" id="flickr_second_header" href="javascript:;">__MSG__SEARCH_FOR_PHOTOS__</a>
    <div>
        <p class ="flickr_text" > __MSG__SEARCH_FOR_PHOTOS__</p>
        <form method="GET" action="javascript:;">
            <p>
                <input type="text" value="__MSG__SEARCH__" id="flickr_key_input" class="flickr_changeColorNormal" />
                <button class="s3d-button flickr_search" id="flickr_seach_button">
                    <span class="s3d-button-inner" >__MSG__SEARCH__</span>
                </button>
                <img src="/devwidgets/flickr/images/ajax-loader-gray.gif" alt="__MSG__LOADING_IMAGE__" id="flickr_loading_img" />
                <a href="javascript:;" id="flickr_refresh_key_button"><img src="/dev/_images/recent_activity_icon.png" alt="refresh" title='refresh' /></a>
            </p>
        </form>

        <div id="flickr_input_error">__MSG__INPUT_ERROR__</div>
        <div id="flickr_input_same_error">__MSG__INPUT_SAME_ERROR__</div>
        **<div id="flickr_key_gallery" ><ul class="flickr_key_ul"><li></li></ul></div>**
        <div id="flickr_key_pagging" ></div>
    </div>
</div>

<!--SLIDING SIDEBAR -->
<div id="flickr_sidebar" class="jcarousel-skin-tango">
    <div id="flickr_side_paging"></div>
    **<ul>
         <li><img src="/devwidgets/flickr/images/drop-image.png" alt="__MSG__DROP_HERE__" class="flick_drop_here"></li>
    </ul>**
</div>
我尝试过将拖动的图像设置为绝对,将容器设置为相对。。。不起作用


有人知道如何在IE8中解决这个问题吗?

显然它与z索引无关。这条线把一切都搞砸了:不透明度:0.50

horizontal: {
            helper: "clone", // Instead of dragging the real image a copy will be dragged
            connectWith: ["#flickr_sidebar ul"], // To be able to drag and drop an image to another image gallery they need to be connected
            cursor: 'pointer', //change the cursor when dragging
            opacity: 0.50, //Change the opacity while dragging
            appendTo: 'body', //When dropped the images need to be appended to the image gallery where they are dropped
            containment: 'body', //Make sure the user can't drag the images outside the widget
            revert: true, // if the user releases the image ouside the dropbox it'll return to it's original position
            zIndex: 9999
        }