[英]IE7 and IE8 visibility issue
I am facing a weird problem firstly the ribbon is visible but as I scroll down the jquery transition makes the navigation bar visible but ribbon went. 我首先面临一个奇怪的问题,功能区是可见的,但是当我向下滚动时,jQuery过渡使导航栏可见但功能区消失了。
Its working fine in Firefox, Chrome, Safari, and IE9+ but not in IE7 and IE8. 它在Firefox,Chrome,Safari和IE9 +中可以正常工作,但在IE7和IE8中则不能。
http://toplevel.toplevelnetworking.com/ http://toplevel.toplevelnetworking.com/
Thanks in advance. 提前致谢。
First off, that's pretty cool :). 首先,这很酷:)。 It's kind of tricky for me to quickly get an understanding of your HTML structure.
对我来说,快速了解您的HTML结构有点棘手。 But I bet it's a z-index issue.
但我敢打赌,这是z-index问题。 I see you have the containing div of the ribbon set to position absolute and z-index:999.
我看到您已将功能区的包含div设置为绝对位置和z-index:999。 That's great.
那很棒。 For stuff you want it ontop of, set to position relative (or absolute if you need to, just make sure it's one of the two).
对于您想要的东西,将其设置为相对(或绝对,如果需要,只需确保它是两者之一)即可。 And set the z-index to something lower, such as 1.
并将z-index设置为较低的值,例如1。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.