开发者

ie 6 sliding problems

开发者 https://www.devze.com 2022-12-14 04:51 出处:网络
I have had this script written for me, for a sliding navigation (fr开发者_JAVA技巧om right to left) with JQuery.

I have had this script written for me, for a sliding navigation (fr开发者_JAVA技巧om right to left) with JQuery.

Works well in mac FF, safari, opera, PC ie 7 & 8, but is not working at all in ie6.

If anyone could shed any light as to why ie 6 isn't working it would be much appreciated.

It can be seen working here http://www.mitchellwood.co.uk/test/slide/navworking-alone.html


Change navContent's css declaration to:

#navContent {
    position: relative;
    width: 348px;
    overflow: hidden;
}

This is a documented bug in IE6/7 that has been written about a bunch if you search for overflow: hidden ie7/ie6.

Have tested for continued compatibility in IE 6/7/8, FF3, Safari 4.


In your css #navContent why have you two override one set to visible and another set to hidden ?

#navContent {
    overflow: visible;
    width: 348px;
    overflow: hidden;
}
0

精彩评论

暂无评论...
验证码 换一张
取 消