请问一下 这个门户的幻灯片如何实现啊
还有一个问题
这个为什么不能全框架呢??
这下面是代码
- <style type="text/css">
- .deandiyhdp { position:relative; width:300px;}
- .deandiyhdp .slideshow { height:300px; overflow:hidden }
- .deandiyhdp .bignews_btns { position:absolute; bottom:0; z-index:2; left:0; height:30px; color:#FFF;}
- .deandiyhdp .slidebar { position:absolute;left:190px; bottom:6px; width:auto; width:120px!important;}
- .deandiyhdp .slidebar em {background:#999; width:16px; height:4px; line-height:4px; display:block; float:left; text-align:center; z-index:3; margin-right:3px; color:#999; cursor:pointer; }
- .deandiyhdp .slidebar em.on { background:#f60; color:#FFF; font-weight:bold; }
- .deandiyhdp .slideother { width:260px; height:15px; line-height:15px; font-size:12px; color:#FFF; position:absolute; bottom:22px; left:10px; overflow:hidden}
- .deandiyhdp .slideother a { color:#FFF; font-family:microsoft yahei; font-size:14px; font-weight:normal;}
- .deandiyhdp .cr180_tmbg { height:50px; width:100%; position:absolute; bottom:0; left:0; z-index:1; background:#000; opacity: 0.6; filter: alpha(opacity=60); border-top:1px solid #000; padding-top:2px;}
- </style>
- <div class="slidebox deandiyhdp">
- <div class="slideshow">[loop]<a href="{url}"{target}><img src="{pic}" width="{picwidth}" height="{picheight}" /></a>[/loop]</div>
- <div class="bignews_btns">
- <div class="btns slidebar">[loop1]<em> </em>[/loop1]</div>
- <div class="desc slideother">[loop2]<a href="{url}"{target}>{title}</a>[/loop2]</div>
- </div>
- <div class="cr180_tmbg"></div>
- </div>
- <script type="text/javascript">runslideshow();</script>
复制代码
|
上一篇: 站帮网2016全新模版 Gbk1.0 价值299元(2016.01.07更新)下一篇: 轻松任性做好SEO网站优化
|