Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/asp.net-core/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Css 当IE中有链接时,下拉菜单消失_Css_Drop Down Menu - Fatal编程技术网

Css 当IE中有链接时,下拉菜单消失

Css 当IE中有链接时,下拉菜单消失,css,drop-down-menu,Css,Drop Down Menu,我正在使用SimpleQueryDown菜单 在IE7和IE8上进行im测试。当我将鼠标滑过超链接上的下拉菜单时,它消失了。 我试过z-index,但它在IE中不起作用 有人有这个问题吗?我以前有过这个问题。使用此jquery代码段修复了它。下面的代码片段修复了中的问题 <!--[if lte IE 7]> $(document).ready(function() { // lower the z-index to negative to fix the overlappin

我正在使用SimpleQueryDown菜单

在IE7和IE8上进行im测试。当我将鼠标滑过超链接上的下拉菜单时,它消失了。 我试过z-index,但它在IE中不起作用


有人有这个问题吗?我以前有过这个问题。使用此jquery代码段修复了它。下面的代码片段修复了中的问题


<!--[if lte IE 7]>
$(document).ready(function() {
  // lower the z-index to negative to fix the overlapping drop-down menu problem
  // for IE browsers only
  // the check for support of leading white space should give us false for IE 6-8
  if(!jQuery.support.leadingWhitespace){
    $('.post-header').css('z-index', -2);
    $('.container').css('z-index', -2);
  }
});
</script>
<![endif]-->