Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/javascript/448.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

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/visual-studio-2010/4.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
Javascript 溢出隐藏-IE7中的问题_Javascript_Jquery_Css_Internet Explorer_Internet Explorer 7 - Fatal编程技术网

Javascript 溢出隐藏-IE7中的问题

Javascript 溢出隐藏-IE7中的问题,javascript,jquery,css,internet-explorer,internet-explorer-7,Javascript,Jquery,Css,Internet Explorer,Internet Explorer 7,我正在使用这个插件,我发现它在IE7中有问题 溢出:隐藏文件js不工作 有人知道如何解决这个问题吗?如果我们能解决这个问题,我当然会和开发者分享 谢谢 在IE版本8之前,某些样式属性(包括溢出)仅适用于IE称为hasLayout属性的元素,该属性在其位置设置为相对或绝对集时显式或自动设置,而不是继承。doctype还必须是不强制IE“怪癖”模式的类型 this solve the issue: 新增行: position: 'relative', 最终代码 $wrapper.css({

我正在使用这个插件,我发现它在IE7中有问题

溢出:隐藏文件js不工作

有人知道如何解决这个问题吗?如果我们能解决这个问题,我当然会和开发者分享


谢谢

在IE版本8之前,某些样式属性(包括溢出)仅适用于IE称为hasLayout属性的元素,该属性在其位置设置为相对或绝对集时显式或自动设置,而不是继承。doctype还必须是不强制IE“怪癖”模式的类型

this solve the issue:
新增行:

position: 'relative',
最终代码

$wrapper.css({
            overflow:   'hidden',
            position: 'relative',
            height:     $this.height(),
            width:      $this.width()
        });

密码?您在链接中找到了源代码。我也有同样的问题。这是插件中的问题,而不是我的代码中的问题。您可以查看是否使用IE7或IE6。还有其他方法提供元素布局,例如使用zoom:1。