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

 找回密码
 立即注册
搜索

[已答复] 请教:如何指定SS7.0首页播放的图片?

[复制链接]
alex_lai 发表于 2009-7-29 13:12:36 | 显示全部楼层 |阅读模式
因为发布的资讯里,图片格式大小不一样。
首页是自动获取一些图片进行播放的。
有些图片小,在首页一放就模糊了,变样了。
所以想指定一些文章里适合的图片进行播放。

请教操作方法。
在线等~
感谢啊~~~
回复

使用道具 举报

lidq.jingwu 发表于 2009-7-29 13:34:50 | 显示全部楼层
在index.html.php文件中找到下面一段代码:

  1.                 <div id="focus_turn">
  2.                         <!--{if !empty($_SBLOCK['hotnewspic'])}-->
  3.                         <ul id="focus_pic">
  4.                                 <!--{eval $j = 0}-->
  5.                                 <!--{loop $_SBLOCK['hotnewspic'] $pkey $pvalue}-->
  6.                                 <!--{eval $pcurrent = ($j == 0 ? 'current' : 'normal');}-->
  7.                                 <li class="$pcurrent"><a href="$pvalue[url]"><img src="$pvalue['a_filepath']" alt="" /></a></li>
  8.                                 <!--{eval $j++}-->
  9.                                 <!--{/loop}-->
  10.                         </ul>
  11.                         <ul id="focus_tx">
  12.                                 <!--{eval $i = 0}-->
  13.                                 <!--{loop $_SBLOCK['hotnewspic'] $key $value}-->
  14.                                 <!--{eval $current = ($i == 0 ? 'current' : 'normal');}-->
  15.                                 <li class="$current"><a href="$value[url]" title="$value[subjectall]">$value[subject]</a></li>
  16.                                 <!--{eval $i++}-->
  17.                                 <!--{/loop}-->
  18.                         </ul>
  19.                         <div id="focus_opacity"></div>
  20.                         <!--{/if}-->
  21.                 </div><!--focus_turn end-->
复制代码
这段是首页的幻灯片,修改它即可。
回复

使用道具 举报

 楼主| alex_lai 发表于 2009-7-29 13:58:08 | 显示全部楼层
问题是怎么修改?
能不能再明朗一点?
回复

使用道具 举报

 楼主| alex_lai 发表于 2009-7-29 14:18:16 | 显示全部楼层
大侠? 回来啊大侠。。
对代码不是很熟。你告诉我怎么操作就行。
是不是复制要放的图片链接到这代码的某一个位置?
回复

使用道具 举报

Tigerlover 发表于 2009-7-29 14:20:24 | 显示全部楼层
毛病还多的很
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-9-12 03:48 , Processed in 0.082610 second(s), 14 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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