lahu โพสต์ 2013-10-6 18:53:31

โค๊ดสไลด์รูป

<style>
.bi_ws { float:left; width:450px; height:270px; background-color:#999999; overflow:hidden; }/*幻灯片的整体大小*/
.pi_cx { display:inline; position:relative; float:left; width:337px; height:258px; overflow:hidden; margin:6px 0 6px 6px; }/*大图片区域样式*/
.pi_cx div img { width:337px; height:258px; }/*大图片的大小*/
.bi_ws_op { margin-left: 8px;position:absolute; left:5; bottom:0px; width:322px; height:70px; color:#FFF;}/*字幕区定义*/
.bi_ws_opdiv { position:absolute; left:0; bottom:0px; width:337px; height:78px; background:#000; opacity:0.5; -moz-opacity:0.5; filter:alpha(opacity=50); }/*标题区背景 透明度50%*/
.bi_ws_op h2 a{ font-size: 18px; color:#FFF; font-weight: bolder; }/*文章标题样式*/
.bi_ws_op h2 a:hover { text-decoration:none; }/*文章标题鼠标经过样式*/
.bi_ws_btn { width:106px; height:270px; float:right;}/*右侧缩略图区域样式*/
.bi_ws_btn div {float:left; width:106px; height:60px; cursor:pointer;margin:6px 0px 0; opacity:0.5; -moz-opacity:0.5; filter:alpha(opacity=70); }/*右侧缩略图区域中每个缩略图区域样式*/
.bi_ws_btn img { width:90px; height:54px; margin:2px 7px 0 ; border:1px solid #ffffff; }/*缩略图样式(非焦点缩略图)*/
.bi_ws .bi_ws_btn .on{ background:url(/forum/static/image/common/1-1.png) no-repeat 0 0; width:103px; height:60px;opacity:1; -moz-opacity:1; filter:alpha(opacity=100); }/*焦点缩略图样式*/

.bi_ws_right { float:right; width:490px;}


</style>
<div class=" bi_ws slidebox">
    <div class="pi_cx slideshow">
   
      <div>
       <a href="{url}"{target}><img src="{pic}" width="{picwidth}" height="{picheight}" /></a>
       <div class="bi_ws_opdiv"></div>
       <div class="bi_ws_op">
         <ul>
          <li>
         <h2><a href="{url}"{target}>{title}</a></h2>
         <p><span style="font-size: 12px">{summary}</span></p>
          </li>
         </ul>
       </div>
      </div>
   
    </div>
    <div class="bi_ws_btn slidebar" mevent="mouseover" >
   
       <div><img src="{pic}" /></div>
   
    </div>
<script type="text/javascript">runslideshow();</script>
</div>

DZX-jpN โพสต์ 2013-10-14 10:12:01

sm917dz โอ้วขอบคุณหลายๆเอิ๊กๆ
หน้า: [1]
ดูในรูปแบบกติ: โค๊ดสไลด์รูป