롤링배너 밑에 제목이 나오게 하고 싶습니다.

롤링배너 밑에 제목이 나오게 하고 싶습니다.

QA

롤링배너 밑에 제목이 나오게 하고 싶습니다.

본문

https://sir.kr/g5_skin/5351?sca=%EC%B5%9C%EC%8B%A0%EA%B8%80&sfl=wr_subject%7C%7Cwr_content&stx=%EB%A1%A4%EB%A7%81&page=2

스킨이 좋아서 사용하려고 하는데 각 이미지 밑으로 제목이 가운데 나오게 하려면 어떻게 해야하는지요?

제가 다른 스킨의 제목부분을 계속 넣어 봤는데 안되네요^^;;

 

밑의 어느 부분에 추가하면 될 것 같은데 알려주시면 감사하겠습니다.

------------------------------------------------------------------------

 <section class="n_gallery_wrap">
 <!-- <div class="n_title_wrap">
    <div class="n_title"><a href="<?php echo G5_BBS_URL; ?>/board.php?bo_table=<?php echo $bo_table; ?>"><?php echo $bo_subject; ?></a></div> -->
    <div class="n_right_wrap">
      <?php if ($is_admin == "super" || $is_auth) { ?>
      <a href="<?php echo G5_URL; ?>/adm/board_form.php?w=u&bo_table=<?php echo $bo_table; ?>"><img src="<?php echo $latest_skin_url; ?>/img/icon_setting.gif" width="13" height="13" alt="게시판설정" title="" /></a>
      <a href="<?php echo G5_BBS_URL; ?>/write.php?bo_table=<?php echo $bo_table; ?><img src="<?php echo $latest_skin_url; ?>/img/icon_write.gif" width="13" height="13" alt="글쓰기" title="" /></a>
      <?php } ?>
      <a href="<?php echo G5_BBS_URL; ?>/board.php?bo_table=<?php echo $bo_table; ?>"></a>
    </div>
  </div>
</section>

이 질문에 댓글 쓰기 :

답변 2

아래 스크립트 부분에서 빨간 부분이 추가 되면 될듯 합니다.

만약에 보이지 않으면 세로 영역크기 때문에 짤려서 그럴수 있으니

$n_thumb_height = 104; //썸네일 세로 크기

 

의 세로 사이즈 영역을 키워 보시기 바랍니다.

 

<? 
for ($i=0; $i<count($list); $i++) {

//$thumb = get_list_thumbnail($board['bo_table'], $list[$i]['wr_id'], $imgwidth , $imgheight);

$n_thumb = get_list_thumbnail($bo_table, $list[$i]['wr_id'], $n_thumb_width, $n_thumb_height);
$n_noimg = "$latest_skin_url/img/noimg.gif";
if($n_thumb['src']) {
  $img_content = $n_thumb['src'];
} else {
  $img_content = $n_thumb_width;
}
      
?>
    leftrightslide[<?=$i;?>] = "   <A HREF='<?=$list[$i]['wr_link1'];?>' target='_blank'><img src='<?=$img_content;?>' border=0 width='<?=$n_thumb_width?>' height='<?=$n_thumb_height?>' ><br><div style='text-align:center'><?=$list[$i]['wr_subject'];?></div></A>   ";
<?
}
?>

?>
    leftrightslide[<?=$i;?>] = "   <A HREF='<?=$list[$i]['href'];?>' target='_self'> <img src='<?=$img_content;?>' border=0 width='<?=$n_thumb_width?>' height='<?=$n_thumb_height?>'> </A>   ";
<?
}
?>

------------>  샘플이 다른가 봅니다.

여기에 적용하니 이미지가 두개만 나오고 더이상 적용이 안되네요?

답변을 작성하시기 전에 로그인 해주세요.
전체 0 | RSS
QA 내용 검색
  • 개별 목록 구성 제목 답변작성자조회작성일
  • 질문이 없습니다.

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT