PC용 슬라이드 최신글 정보
최신글 PC용 슬라이드 최신글관련링크
첨부파일
테스트한 버전5.2
호환 가능 버전5.2, 5.3, 5.4
본문
코드가 복잡하고 어려운 것 보단 최대한 단순, 간단, 쉬운 것을 선호 하는 편이라서.... ㅋ
간단한 PC버전용 썸네일 생성 메인 슬라이드 스킨입니다.
그누보드 기본 JS 첨부 파일인(head.sub.php에서 인클루드) jquery-1.8.3.min.js 파일을 기본 이용합니다.
항상 코드 간단 스킨을 지향합니다. ^^
스킨폴더를 skin/latest 에 전체 복사 후
<?php echo latest('color_jmain_slider1', '게시판아이디', 출력개수, 글자수);?>
로 출력.
추천
3
3
댓글 전체
잘 사용하겠습니다.
받아주셔서 감사합니다. ^^
이미지 슬라이드 갯수를 10으로 했는데 5개밖에 슬라이드가 안되네요...
슬라이드 이미지 갯수를 늘리려면 어떻게 해야하나요???
슬라이드 이미지 갯수를 늘리려면 어떻게 해야하나요???
자체해결 했습니다..
<?php
for ($i=0; $i<5; $i++) {
$thumbs = get_list_thumbnail($bo_table, $list[$i]['wr_id'], $board['bo_gallery_width'], $board['bo_gallery_height']);
if($thumbs['src']) {
$img = $thumbs['src'];
}
?>
5개 까지 안되게 해놨네요..ㅎㅎ 아래같이 수정했습니다..
<?php
for ($i=0; $i<count($list); $i++) {
$thumbs = get_list_thumbnail($bo_table, $list[$i]['wr_id'], $board['bo_gallery_width'], $board['bo_gallery_height']);
if($thumbs['src']) {
$img = $thumbs['src'];
}
?>
<?php
for ($i=0; $i<5; $i++) {
$thumbs = get_list_thumbnail($bo_table, $list[$i]['wr_id'], $board['bo_gallery_width'], $board['bo_gallery_height']);
if($thumbs['src']) {
$img = $thumbs['src'];
}
?>
5개 까지 안되게 해놨네요..ㅎㅎ 아래같이 수정했습니다..
<?php
for ($i=0; $i<count($list); $i++) {
$thumbs = get_list_thumbnail($bo_table, $list[$i]['wr_id'], $board['bo_gallery_width'], $board['bo_gallery_height']);
if($thumbs['src']) {
$img = $thumbs['src'];
}
?>
감사합니다
감사드립니다.