这种带侧边栏能选中的滑动翻页的图片展示怎么做?

时间:2022-08-22 10:10:34
这种带侧边栏能选中的滑动翻页的图片展示怎么做?
参考网址:http://m.yunhuace.com/show/2014812zxrbxszewv     手机上能看到效果,滑动展示的会做,谁知道侧边栏带选中的这种怎么做

3 个解决方案

#1


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>向上滑动图片说明效果</title>
<meta http-equiv="content-type" content="text/html;charset=gb2312">
<style type="text/css">
.chaonanwo{width:400px;height:300px;margin:auto;position:relative;}
.chaonanwo img{width:400px;height:300px;border:0px;display:block;}
.text{width:400px;height:auto;background-color:#FFFFFF;FILTER:alpha(opacity=70);opacity:0.7;-moz-opacity:0.7;position:absolute;left:0px;bottom:0px;}
.imgbt{width:280px;height:30px;padding:0px 10px;}
.imgbt span{display:block;}
.span_a{width:210px;line-height:30px;float:left;font-size:14px;color:#FF3366;padding-right:10px;}
.span_b{width:60px;line-height:30px;float:left;font-size:16px;color:#FF3366;font-family:Georgia,"Times New Roman",Times,serif;text-align:right;}
.clear{display:block;font-size:0px;height:0px;line-height:0px;clear:both;}
.imgtext{width:280px;height:80px;padding:20px 10px;color:#333333;font-size:12px;}
</style>
<script type="text/javascript" src="/ajaxjs/jquery1.3.2.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$(".imgtext").hide();
$(".chaonanwo").hover(function(){
$(".imgtext").slideToggle(1000);
});
});
</script>
</head>
<body>
<div class="chaonanwo">
<a href="#" target="_blank"><img src="/jscss/demoimg/wall3.jpg"></a>
<div class="text">
<div class="imgbt">
<span class="span_a">北欧天空</span>
<span class="span_b">¥59.00</span>
<span class="clear"></span>
</div>
<div class="imgtext">
梦想之旅北欧游,梦幻天堂般的自然风光,让您流连忘返 T93
</div>
</div>
</div>
</body>
</html>

#1


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>向上滑动图片说明效果</title>
<meta http-equiv="content-type" content="text/html;charset=gb2312">
<style type="text/css">
.chaonanwo{width:400px;height:300px;margin:auto;position:relative;}
.chaonanwo img{width:400px;height:300px;border:0px;display:block;}
.text{width:400px;height:auto;background-color:#FFFFFF;FILTER:alpha(opacity=70);opacity:0.7;-moz-opacity:0.7;position:absolute;left:0px;bottom:0px;}
.imgbt{width:280px;height:30px;padding:0px 10px;}
.imgbt span{display:block;}
.span_a{width:210px;line-height:30px;float:left;font-size:14px;color:#FF3366;padding-right:10px;}
.span_b{width:60px;line-height:30px;float:left;font-size:16px;color:#FF3366;font-family:Georgia,"Times New Roman",Times,serif;text-align:right;}
.clear{display:block;font-size:0px;height:0px;line-height:0px;clear:both;}
.imgtext{width:280px;height:80px;padding:20px 10px;color:#333333;font-size:12px;}
</style>
<script type="text/javascript" src="/ajaxjs/jquery1.3.2.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$(".imgtext").hide();
$(".chaonanwo").hover(function(){
$(".imgtext").slideToggle(1000);
});
});
</script>
</head>
<body>
<div class="chaonanwo">
<a href="#" target="_blank"><img src="/jscss/demoimg/wall3.jpg"></a>
<div class="text">
<div class="imgbt">
<span class="span_a">北欧天空</span>
<span class="span_b">¥59.00</span>
<span class="clear"></span>
</div>
<div class="imgtext">
梦想之旅北欧游,梦幻天堂般的自然风光,让您流连忘返 T93
</div>
</div>
</div>
</body>
</html>

#2


#3