我想将首页的幻灯片图片调整为大尺寸的,修改如下: 
1、css增加 
 /* focus turn index 增加幻灯片修改 开始 */ 
#focus_turn_index { position:relative; height:315px; margin-bottom:10px; border:1px solid #D8D8D8; background:url(../images/focus_turn_bg.gif) repeat-x; } 
 #focus_pic_index { margin:12px 0 0 12px!important;  margin:11px 0 0 12px; } 
  #focus_pic_index li img { width:930px; height:260px; padding:1px; border:1px solid #D8D8D8; background:#FFF; } 
  #focus_pic_index .normal { display:none; } 
  #focus_pic_index .current { display:block; } 
 #focus_btn_index { position:absolute; right:14px; bottom:41px; border-left:1px solid #D8D8D8; } 
  #focus_btn_index span { display:block; float:left; overflow:hidden; width:22px; height:22px; margin:0 0 0 -1px; border:1px solid #D8D8D8; text-align:center; font:14px Arial, Helvetica, sans-serif; font-weight:700; line-height:22px; cursor:pointer; } 
  #focus_btn_index .normal { background:#FFF; color:#1A4963; } 
  #focus_btn_index .current { background:#1A4963; color:#FFF; } 
 #focus_tx_index { height:20px; overflow:hidden; margin:5px 0 0 12px; font-size:14px; line-height:20px; } 
  #focus_tx_index .normal { display:none; } 
  #focus_tx_index .current { display:block; } 
 #focus_opacity_index {  position:absolute; left:14px; bottom:41px; width:930px; height:24px; background:#FFF; opacity:0.4; filter:alpha(opacity=40); } 
  
 .column_index { width:960px; overflow:hidden; margin:0 auto 10px; } 
 .col1_index { float:left; width:960px; overflow:hidden; } 
 .col2_index { float:right; width:250px; } 
 .col3_index { float:left; width:960px; overflow:hidden; } 
 .col4_index { float:right; width:310px; overflow:hidden; } 
 /* focus turn index 增加幻灯片修改 结束 */ 
 
2、index修改为 
<div class="column_index"> 
 <div class="col1_index"> 
  <div class="col3_index"> 
  <!--{block name="spacenews" parameter="haveattach/2/order/i.dateline DESC/limit/0,4/cachetime/83400/subjectlen/40/subjectdot/0/cachename/hotnewspic"}--> 
  <div id="focus_turn_index"> 
   <!--{if !empty($_SBLOCK['hotnewspic'])}--> 
   <ul id="focus_pic_index"> 
    <!--{eval $j = 0}--> 
    <!--{loop $_SBLOCK['hotnewspic'] $pkey $pvalue}--> 
    <!--{eval $pcurrent = ($j == 0 ? 'current' : 'normal');}--> 
    <li class="$pcurrent"><a href="$pvalue[url]"><img src="$pvalue['a_filepath']" alt="" /></a></li> 
    <!--{eval $j++}--> 
    <!--{/loop}--> 
   </ul> 
   <ul id="focus_tx_index"> 
    <!--{eval $i = 0}--> 
    <!--{loop $_SBLOCK['hotnewspic'] $key $value}--> 
    <!--{eval $current = ($i == 0 ? 'current' : 'normal');}--> 
    <li class="$current"><a href="$value[url]" title="$value[subjectall]">$value[subject]</a></li> 
    <!--{eval $i++}--> 
    <!--{/loop}--> 
   </ul> 
   <div id="focus_opacity_index"></div> 
   <!--{/if}--> 
  </div><!--focus_turn end--> 
  <!--{block name="spacenews" parameter="order/i.viewnum DESC/limit/0,17/cachetime/86900/subjectlen/40/subjectdot/0/showdetail/1/messagelen/100/messagedot/1/cachename/hotnews"}--> 
  <!--{if !empty($_SBLOCK['hotnews'])}--> 
  <!--{eval $hotnews = @array_slice($_SBLOCK['hotnews'], 0, 5)}--> 
  <!--{/if}--> 
  </div><!--col3 end--> 
 </div><!--col1 end--> 
</div><!--column end--> 
 
结果:图片没有幻灯片播放,也没有页码显示。 
请给予指点,谢谢!! 
 
 |