Discuz!官方免费开源建站系统

 找回密码
 立即注册
搜索

[求助] 模版高手们求助幻灯片问题

[复制链接]
苍耳子 发表于 2010-11-5 13:38:55 | 显示全部楼层 |阅读模式
幻灯片里1-5按钮的背景图片现在是死的,应该是显示哪张图片,对应的按钮背景色就变成绿色,要加什么代码。
回复

使用道具 举报

bobofashion 发表于 2010-11-5 13:59:59 | 显示全部楼层
不懂的我 路过
回复

使用道具 举报

 楼主| 苍耳子 发表于 2010-11-5 14:16:53 | 显示全部楼层
回复

使用道具 举报

hencn 发表于 2010-11-5 18:20:24 | 显示全部楼层
(EM:131:)(EM:131:)顶你下
回复

使用道具 举报

转心新 发表于 2010-11-5 18:25:33 | 显示全部楼层
给演示。你这个幻灯的。
回复

使用道具 举报

 楼主| 苍耳子 发表于 2010-11-5 19:20:02 | 显示全部楼层
回复

使用道具 举报

cyhguest 发表于 2010-11-5 22:46:03 | 显示全部楼层
把你的原文件打抱发上来,有时间给看看
回复

使用道具 举报

 楼主| 苍耳子 发表于 2010-11-6 09:03:15 | 显示全部楼层
cyhguest 发表于 2010-11-5 22:46
把你的原文件打抱发上来,有时间给看看

新建附件模版加入以下代码
<div class="bignews slidebox" >
<style>
.slidebar em:hover{background:#a0ce52;}
</style>
<div class="slideshow" style="position:relative;z-index:-100;">[loop]<a href="{url}"{target}><img src="{pic}" width="{picwidth}" height="{picheight}"/></a>[/loop]</div>
<div style="background:#000000;position:relative;z-index:100;height:40px;margin-top:-32px;width:295px;margin-left:9px;filter:alpha(opacity=30);position:static; overflow:hidden;">              
<div class="desc slideother" style="margin-top:5px;margin-left:10px; position:relative">

[loop2]

                    <a href="{threadurl}"{target} style="color:#fff;">{threadsubject}</a>

[/loop2]

</div>
  <div class="btns slidebar" style="margin-left:200px;margin-top:-5px; position:relative">
[loop1]

                    <em style="background:#fff;width:18px;height:18px;display:block;float:left;text-align:center;">{currentorder}</em>

[/loop1]

              </div>   
</div>
          </div>

<script type="text/javascript">

runslideshow();

</script>
回复

使用道具 举报

 楼主| 苍耳子 发表于 2010-11-6 11:34:24 | 显示全部楼层
回复

使用道具 举报

 楼主| 苍耳子 发表于 2010-11-8 12:21:12 | 显示全部楼层
cyhguest 发表于 2010-11-5 22:46
把你的原文件打抱发上来,有时间给看看

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2025-9-6 08:40 , Processed in 0.111413 second(s), 15 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表