Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/78.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
jQuery下拉菜单没有';我不在IE7工作_Jquery_Drop Down Menu_Internet Explorer 7 - Fatal编程技术网

jQuery下拉菜单没有';我不在IE7工作

jQuery下拉菜单没有';我不在IE7工作,jquery,drop-down-menu,internet-explorer-7,Jquery,Drop Down Menu,Internet Explorer 7,我在公司的一个网站上有一个jQuery下拉菜单。该菜单适用于除IE7之外的所有浏览器。我尝试过修改jQuery和CSS。我已经试着实现我在这个网站上看到的每一个补丁,以及快速谷歌搜索提供的任何其他补丁。到目前为止,一切都无济于事。最糟糕的是我不确定哪一部分不起作用 我听说IE的某些版本不支持:hover类。我尝试为.hover函数创建一个变量。还有人贴出IE7不喜欢显示:block,所以我试着改变它。什么都没用 这是我的代码减去CSS。该网站是: 尝试使用.mouseover或.mouseent

我在公司的一个网站上有一个jQuery下拉菜单。该菜单适用于除IE7之外的所有浏览器。我尝试过修改jQuery和CSS。我已经试着实现我在这个网站上看到的每一个补丁,以及快速谷歌搜索提供的任何其他补丁。到目前为止,一切都无济于事。最糟糕的是我不确定哪一部分不起作用

我听说IE的某些版本不支持:hover类。我尝试为.hover函数创建一个变量。还有人贴出IE7不喜欢显示:block,所以我试着改变它。什么都没用

这是我的代码减去CSS。该网站是:


尝试使用.mouseover或.mouseenter代替.hover

我刚试过,也没用。谢谢你。
$(document).ready(function () {

            $('#nav li').hover(function () {

                                    //show its submenu
                                    $('ul', this).stop(true, true).slideDown(300);

                                },

                                function () {
                                    //hide its submenu
                                    $('ul', this).stop(true, true).slideUp(300);
                               }
               );

        });