Jquery滑动面板

时间:2013-07-07 14:20:39

标签: jquery css image slider panel

当我按下Jquery面板的滑动按钮时,它会向下滑动,但也会移动它下面的内容。我想让我的Jquery滑动面板打开它下面的内容。它下面的内容是一个图像滑块。我正在图片库网站上工作。这是我的图像滑块和滑动面板的CSS。我希望有人可以解决这个问题。

<!-- Sliding panel CSS--> 
body {
    margin: 0 auto;
}
#panel {
    position: relative;
    height: 510px;
    display: none;
}
.slide {
    z-index: 10;
    position: absolute;
    height: 60px;
    width:1344px;
    border: solid 1px black;
    background: url(images/sliderback.png);
}
.btn-slide {
    z-index: 10;
    position: absolute;
    border: 1px solid black;
    background: url();
    text-align: center;
    width: 50px;
    height: 50px;
    margin: -10px 1270px;
    display: block;
    color: #fff;
    text-decoration: none;
}
<!-- End of sliding panel CSS --> 
<!-- Image Slider CSS --> 
#container{
    position:relative;
}
#prev{
    position: absolute;
    cursor: pointer;
    top:245px;
    left:-20px;
    z-index:10;
    width:80px;
    height:100px;
}
#next{
    position:absolute;
    cursor: pointer;
    top:245px;
    left:1280px;
    z-index:10;
    width:80px;
    height:100px;
}
.slider{
    position: relative;
    height:570px;
    width:1366px;
}
<!--Image Slider CSS -->

<!-- Sliding panel CSS-->
body {
    margin: 0 auto;
}
#panel {
    position: relative;
    height: 510px;
    display: none;
}
.slide {z-index: 10;
    position: absolute;
    height: 60px;
    width:1344px;
    border: solid 1px black;
    background: url(images/sliderback.png);
}
.btn-slide {
    z-index: 10;
    position: absolute;
    border: 1px solid black;
    background: url();
    text-align: center;
    width: 50px;
    height: 50px;
    margin:  -10px 1270px;
    display: block;
    color: #fff;
    text-decoration: none;
}

<!-- End of sliding panel CSS --> 

<!-- Image Slider CSS --> 
#container{
    position:relative;
}
#prev{
    position: absolute;
    cursor: pointer;
    top:245px;
    left:-20px;
    z-index:10;
    width:80px;
    height:100px;
}
#next{
    position:absolute;
    cursor: pointer;
    top:245px;
    left:1280px;
    z-index:10;
    width:80px;
    height:100px;
}
.slider {
    position: relative;
    height:570px;
    width:1366px;
}
<!--Image Slider CSS -->

0 个答案:

没有答案