nbsp;html>
body,ul,li,img,button, ol, ul, li, p, dl, dd,
h1, h2, h3, h4, h5, h6, iframe, input,form,
textarea,a{
margin: 0px;
padding: 0px;
list-style: none;
text-decoration: none;
font-size: 12px;
font-family: “微软雅黑”;
color: #4e4e4e;
}
a:link,a:visited{
color: #4e4e4e;
}
a:hover,a:active{
color: #ff2832;
}
#content {
width: 1200px;
height: 492px;
/*border: 1px solid silver;*/
margin: 0px auto;
overflow: hidden;
}
#content .tab_l{
width: 972px;
height: 492px;
float: left;
}
.title{
width: 100%;
height: 34px;
line-height: 34px;
border-bottom: 2px solid #ff2832;
}
.title h1{
font-size: 1.6em;
font-weight: normal;
color: #ff2832;
float: left;
margin-left: 5px;
}
.tab_sel{
margin-top: 13px;
float: right;
}
ul.tab_sel li{
width: 12px;
height: 12px;
border-radius: 50%;
background-color: dimgray;
float: left;
margin-right: 5px;
}
.tab_lframe{
height: 456px;
width: 972px;
position: relative;
}
.tab_lcontent{
height: 456px;
border-left: 1px solid #e6e6e6;
position: absolute;
}
.tabl_imgs {
height: 150px;
clear: both;
padding: 10px 21.6px;
}
.tabl_imgs {
width: 150px;
height: 150px;
}
.product {
height: 227px;
border-right: 1px solid #e6e6e6;
border-bottom: 1px solid #e6e6e6;
float: left;
position: relative;
}
.product p.price{
text-align: left;
text-indent: 10px;
color: #ff2832;
font-size: 1.3em;
}
ul li.hover{
background-color: #ff2832;
}
var index_2=0;
$(function(){
$(“ul.lbtn li”).hover(function(){
index_2=$(this).index();
$(this).addclass(“hover”).show().siblings().removeclass(“hover”);
$(“.tab_lcontent”).eq(index_2).show().siblings().hide();
})
},function(){})
畅品今日闪购
中国经典文学辞海
中国经典文学辞海
¥199.00
中国经典文学辞海
中国经典文学辞海
¥19.00
中国经典文学辞海
中国经典文学辞海
¥39.00
中国经典文学辞海
中国经典文学辞海
¥99.00
中国经典文学辞海
中国经典文学辞海
¥59.00
中国经典文学辞海
中国经典文学辞海
¥999.00
中国经典文学辞海
中国经典文学辞海
¥1999.00
中国经典文学辞海
中国经典文学辞海
¥198.00
中国经典文学辞海
中国经典文学辞海
¥98.00
中国经典文学辞海
中国经典文学辞海
¥19.00
回复讨论(解决方案)
以上是图片,上面代码少了个
和标签,太急了,没发全,第一次上论坛,见谅
这很好理解,jquery是等待文档加载完毕后才运行的,文档中的元素你不设置默认是显示的
这很好理解,jquery是等待文档加载完毕后才运行的,文档中的元素你不设置默认是显示的
可是一开始这个div不是overflow隐藏了吗?
这很好理解,jquery是等待文档加载完毕后才运行的,文档中的元素你不设置默认是显示的
可是一开始这个div不是overflow隐藏了吗?
overflow我没试过不清楚用法, 不过从字面意思只是溢出时隐藏吧.
我试过display:none;可以在加载时就隐藏
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件至253000106@qq.com举报,一经查实,本站将立刻删除。
发布者:PHP中文网,转转请注明出处:https://www.chuangxiangniao.com/p/3117528.html