我有一个下拉菜单,它除了IE6 & IE7之外的其他所有功能都能正常工作。下拉菜单需要显示一切,但它是在某个div下面
下面是DIV的CSS它下面隐藏的IE 6/7
#featured-programs-left img,
#featured-programs-right img{
overflow:auto;
border:0;
}
#featured-programs-left,
#featured-programs-right {
height:625px;
float:left;
overflow:auto;
clear:left;
clear:right;
width:100%;
}
#featured-programs-left div,
#featured-programs-right div {
overflow:auto;
clear:left;
clear:right;
width:352px;
height:345px;
}
#featured-programs-left {
float:left;
}
#featured-programs-right {
float:right;
}
这里是jQuery的(在你的源代码将在每个主div中看到多个div(features-programs-left & -right),并且jQuery在循环中逐渐淡入和淡出)用于显示在div两侧内纳克多个项目(衰物品进出)(#功能的程序左&#功能 - 程序 - 右)
<script type="text/javascript">
$(document).ready(function() {
$('#featured-programs-left').cycle({
fx: 'fade',
speed: 'slow',
timeout: 15000,
next: '#next2',
prev: '#prev2'
});
});
$(document).ready(function() {
$('#featured-programs-right').cycle({
fx: 'fade',
speed: 'slow',
timeout: 21000,
next: '#next3',
prev: '#prev3'
});
});
</script>
下面是快速链接的CSS(快速链接是下拉链接菜单)
#header-nav-top li#quicklinks a:link,
#header-nav-top li#quicklinks a:visited,
#header-nav-top li#quicklinks a:active {
padding-left: .9em;
background: transparent url('/site/images/quicklinks_bullet.gif') no-repeat 0em .5em;
}
#header-nav-top li#quicklinks.hover {
position: relative;
}
#header-nav-top li#quicklinks ul {
position: absolute;
display: none;
xleft: -9999em;
top: 14px;
width: 142px;
padding:5px 2px 5px 5px;
z-index: 90;
margin: 0px;
background-color: #00693E;
xborder: 1px solid #FDBE2F;
xborder-width: 0px 1px 1px;
}
#header-nav-top li#quicklinks:hover ul,
#header-nav-top li#quicklinks.hover ul {
left: 0px;
display: block;
}
#header-nav-top li#quicklinks ul li {
background: transparent none;
float: none;
margin: 0px 0px 0px;
line-height: 1.4em;
display: block;
border:1px solid #00693E;
}
#header-nav-top li#quicklinks ul li a:link,
#header-nav-top li#quicklinks ul li a:visited,
#header-nav-top li#quicklinks ul li a:active {
color: #fff;
display: block;
text-decoration: none;
background: transparent none;
}
#header-nav-top li#quicklinks ul li a:hover {
color: #C26B1A;
background: transparent url('/site/images/bullet_link.gif') no-repeat 0% 6px;
}
你认为可能会导致它不显示在以上功能的程序,遗留在IE 6/7 &功能的程序,右项的下拉菜单?
它是在我需要VPN进入测试服务器,所以很可惜没有。 – Brad 2009-02-01 17:54:22