로그인이 안 되시나요? 쿠키 삭제로 해결하세요!
닫기
2026, 새로운 도약을 시작합니다.
닫기
그누보드5
영카트5
Q & A
컨텐츠몰
부가서비스
Jobs
커뮤니티
로그인
회원가입
그누보드5
영카트5
Q & A
컨텐츠몰
부가서비스
Jobs
커뮤니티
About
로그인
회원가입
그누보드5
라이센스
특징/기능
다운로드
매뉴얼
사용자데모
관리자데모
자주하시는 질문
질문답변
팁자료실
강좌
스킨
빌더
테마
플러그인
사용후기
디자인시안
변환프로그램
가이드
영카트5
그누보드6 파이썬
영카트5
특징/기능
다운로드
매뉴얼
사용자데모
관리자데모
자주하시는 질문
질문답변
팁자료실
스킨
빌더
테마
플러그인
사용후기
Q & A
질문하는방법
모든질문
답변없는질문
미채택된질문
채택된질문
그누보드5
영카트5
태그전체보기
컨텐츠몰
장바구니
부가서비스
전자결제 (PG)
KG이니시스
나이스페이
토스페이먼츠
NHN KCP
HOT
본인인증
KCP 본인인증
이니시스 통합인증
알림/메시징
아이코드 SMS
팝빌 알림톡
NEW
리셀러
리셀러 가입 안내
리셀러 가입 신청
리셀러 가입 내역
서비스 문의
자주하는 질문
서비스 공지사항
Jobs
스택가이드
AI 견적
AI 견적 안내
프로젝트 의뢰
프로젝트 의뢰 안내
간편제작의뢰
간편제작의뢰 안내
정산금액 계산기
쇼케이스
사이드 프로젝트
개발자 목록
개발자 등급 시스템
의뢰자 목록
커뮤니티
자유게시판
인기글
소모임
뱃지 컬렉션
뱃지 보유자 랭킹
일간 다작왕
포인트 선물
이모티콘
버그신고
About
회사소개
공지사항
문의게시판
이용약관
개인정보처리방침
게시물 규제정책
포인트 정책
2026년 리뉴얼
목록
이전글
다음글
뚝
뚝
에디터로 삽이한 이미지...
뚝딱이
프로필 보기
이 회원 글보기
이 회원의 댓글보기
·
17년 전
·
조회 1535
1535
·
댓글 6
6
에디터로 삽입한 이미지를
최근게시글에 나타나게 하고싶어요.
좋고 쉬운 방법이 없을까요?
스크랩
0
|
신고
0
게시물 신고
이 게시물을 신고 하시겠습니까?
신고사유를 선택해주세요.
광고성 게시물
음란성 게시물
상대방 비방 및 혐오
기타
신고하기
취소
글쓰기
댓글 6개
꽈
꽈배기
프로필 보기
이 회원 글보기
이 회원의 댓글보기
17년 전
http://sir.co.kr/bbs/board.php?bo_table=g4_tiptech&wr_id=17269&sca=&sfl=wr_subject||wr_content&stx=dhtml&sop=and
섬네일 생성 먼저.. ^^
뚝
뚝딱이
프로필 보기
이 회원 글보기
이 회원의 댓글보기
17년 전
말씀 하신 곳 수정하였는데도....ㅠㅠ
스킨 소스 보여드릴까요???
꽈
꽈배기
프로필 보기
이 회원 글보기
이 회원의 댓글보기
17년 전
앞으로 새로 작성되는 글들은 적용되지 않는지요??
뚝
뚝딱이
프로필 보기
이 회원 글보기
이 회원의 댓글보기
17년 전
안되는데..
첨부파일로 첨부하면...미리보기처럼 섬네일이 맞는지는 모르겠지만 화면에 보이구요.
에디트로 삽입한 그림역시 리스트 상에는 잘보이는데..
최근게시글에는 액박으로 나온답니다..물론 첨부를 한 이미지는 잘나오구요...ㅠ
꽈
꽈배기
프로필 보기
이 회원 글보기
이 회원의 댓글보기
17년 전
최근게시물도 수정해야겠군요;;
뚝
뚝딱이
프로필 보기
이 회원 글보기
이 회원의 댓글보기
17년 전
해당 스킨 소스입니다.
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
//이미지 한줄스크롤되는 최신글
?>
<script>
function scroll() {
this.name = "scroll";
this.item = new Array();
this.itemcount = 0;
this.currentspeed = 0;
this.scrollspeed = 50;
this.pausedelay = 1000;
this.pausemouseover = false;
this.stop = false;
this.type = 1;
this.height = 165;
this.width = 210;
this.stopHeight=0;
this.add =function () {
var text = arguments[0];
this.item[this.itemcount] = text;
this.itemcount = this.itemcount + 1;
};
this.start = function () {
this.display();
this.currentspeed = this.scrollspeed;
setTimeout(this.name+'.scroll()',this.currentspeed);
};
this.display =function () {
document.write('<div id="'+this.name+'" style="height:'+this.height+';width:'+this.width+';position:relative;overflow:hidden;" OnMouseOver="'+this.name+'.onmouseover();" OnMouseOut="'+this.name+'.onmouseout();">');
for(var i = 0; i < this.itemcount; i++) {if ( this.type == 1) {
document.write('<div id="'+this.name+'item'+i+'"style="left:0px;width:'+this.width+';position:absolute;top:'+(this.height*i+1)+'px;">');
document.write(this.item[i]);
document.write('</div>');
}
else if ( this.type == 2 ) {
document.write('<div id="'+this.name+'item'+i+'"style="left:'+(this.width*i+1)+'px;width:'+this.width+';position:absolute;top:0px;">');
document.write(this.item[i]);
document.write('</div>');
}
}
document.write('</div>');
};
this.scroll = function () {
this.currentspeed = this.scrollspeed;if ( !this.stop ) {
for (i = 0; i < this.itemcount; i++) {
obj = document.getElementById(this.name+'item'+i).style;if ( this.type == 1 ) {
obj.top = parseInt(obj.top) - 1;
if ( parseInt(obj.top) <= this.height*(-1) ) obj.top = this.height * (this.itemcount-1);
if ( parseInt(obj.top) == 0 || ( this.stopHeight > 0 && this.stopHeight - parseInt(obj.top) == 0 ) ) this.currentspeed = this.pausedelay;
}
else if ( this.type == 2 ) {
obj.left = parseInt(obj.left) - 1;
if ( parseInt(obj.left) <= this.left*(-1) ) obj.left = this.left* (this.itemcount-1);
if ( parseInt(obj.left) == 0 ) this.currentspeed = this.pausedelay;
}
}
}
window.setTimeout(this.name+".scroll()",this.currentspeed);
};
this.onmouseover = function () {
if ( this.pausemouseover ) {
this.stop = true;}
};
this.onmouseout = function () {
if ( this.pausemouseover ) {
this.stop = false;
}
};
}
</script>
<table width="230" BORDER=0 CELLPADDING=0 CELLSPACING=0 valign="top">
<tr>
<td><img src="<?=$latest_skin_path?>/img/up-1_1.gif" width="230" height="9"></td></tr>
<tr>
<td background="<?=$latest_skin_path?>/img/back-up-1_1.gif" width="230" align="center">
<table width="210" height="31" border="0" cellpadding="0" cellspacing="0">
<tr><td align='center'><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><IMG src="<?=$latest_skin_path?>/img/title.gif" border=0 width="210" height="31"></a></td></tr></table>
<table border="0" cellpadding="1" cellspacing="0" bgcolor='#E1E1E1'>
<tr>
<td><table width="210" height="165" border="0" cellpadding="3" cellspacing="0" bgcolor='#FFFFFF'>
<tr>
<td align='center'>
<script>
cont = new scroll();
cont.name = "cont";
cont.height = 165;
cont.width = 210;
cont.scrollspeed = 20;
cont.pausedelay = 3000;
cont.pausemouseover = true;
<? for ($i=0; $i<count($list); $i++) { ?>
<?
$image = urlencode($list[$i][file][0][file]); // 첫번째 파일이 이미지라면
if (preg_match("/\.(gif|jpg|png)$/i", $image))
$data_path = $g4[path]."/data/file/$bo_table";
$thum_path = $data_path.'/thumb'; //썸네일경로
$thumb = $thum_path.'/'.$list[$i][wr_id];
if ( file_exists($thumb) )
{ // 썸네일
$img = "<img src='$thumb' width='210' height='165' border='0'>";
}
else {
$img = "<img src='$g4[path]/data/file/$bo_table/$image' width='210' height='165' border='0'>";
}
?>
cont.add("<a href='<?=$list[$i][href]?>'><?=$img?></a>");
<?}?>
cont.start(); </script>
</td>
</tr>
</table></td>
</tr>
</table>
</td>
</tr>
<tr><td><img src="<?=$latest_skin_path?>/img/end-1_1.gif" width="230" height="8"></td></tr>
</table>
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기
1
/
1
🐛
버그신고
맨 위로
댓글 6개
섬네일 생성 먼저.. ^^
스킨 소스 보여드릴까요???
첨부파일로 첨부하면...미리보기처럼 섬네일이 맞는지는 모르겠지만 화면에 보이구요.
에디트로 삽입한 그림역시 리스트 상에는 잘보이는데..
최근게시글에는 액박으로 나온답니다..물론 첨부를 한 이미지는 잘나오구요...ㅠ
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
//이미지 한줄스크롤되는 최신글
?>
<script>
function scroll() {
this.name = "scroll";
this.item = new Array();
this.itemcount = 0;
this.currentspeed = 0;
this.scrollspeed = 50;
this.pausedelay = 1000;
this.pausemouseover = false;
this.stop = false;
this.type = 1;
this.height = 165;
this.width = 210;
this.stopHeight=0;
this.add =function () {
var text = arguments[0];
this.item[this.itemcount] = text;
this.itemcount = this.itemcount + 1;
};
this.start = function () {
this.display();
this.currentspeed = this.scrollspeed;
setTimeout(this.name+'.scroll()',this.currentspeed);
};
this.display =function () {
document.write('<div id="'+this.name+'" style="height:'+this.height+';width:'+this.width+';position:relative;overflow:hidden;" OnMouseOver="'+this.name+'.onmouseover();" OnMouseOut="'+this.name+'.onmouseout();">');
for(var i = 0; i < this.itemcount; i++) {if ( this.type == 1) {
document.write('<div id="'+this.name+'item'+i+'"style="left:0px;width:'+this.width+';position:absolute;top:'+(this.height*i+1)+'px;">');
document.write(this.item[i]);
document.write('</div>');
}
else if ( this.type == 2 ) {
document.write('<div id="'+this.name+'item'+i+'"style="left:'+(this.width*i+1)+'px;width:'+this.width+';position:absolute;top:0px;">');
document.write(this.item[i]);
document.write('</div>');
}
}
document.write('</div>');
};
this.scroll = function () {
this.currentspeed = this.scrollspeed;if ( !this.stop ) {
for (i = 0; i < this.itemcount; i++) {
obj = document.getElementById(this.name+'item'+i).style;if ( this.type == 1 ) {
obj.top = parseInt(obj.top) - 1;
if ( parseInt(obj.top) <= this.height*(-1) ) obj.top = this.height * (this.itemcount-1);
if ( parseInt(obj.top) == 0 || ( this.stopHeight > 0 && this.stopHeight - parseInt(obj.top) == 0 ) ) this.currentspeed = this.pausedelay;
}
else if ( this.type == 2 ) {
obj.left = parseInt(obj.left) - 1;
if ( parseInt(obj.left) <= this.left*(-1) ) obj.left = this.left* (this.itemcount-1);
if ( parseInt(obj.left) == 0 ) this.currentspeed = this.pausedelay;
}
}
}
window.setTimeout(this.name+".scroll()",this.currentspeed);
};
this.onmouseover = function () {
if ( this.pausemouseover ) {
this.stop = true;}
};
this.onmouseout = function () {
if ( this.pausemouseover ) {
this.stop = false;
}
};
}
</script>
<table width="230" BORDER=0 CELLPADDING=0 CELLSPACING=0 valign="top">
<tr>
<td><img src="<?=$latest_skin_path?>/img/up-1_1.gif" width="230" height="9"></td></tr>
<tr>
<td background="<?=$latest_skin_path?>/img/back-up-1_1.gif" width="230" align="center">
<table width="210" height="31" border="0" cellpadding="0" cellspacing="0">
<tr><td align='center'><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><IMG src="<?=$latest_skin_path?>/img/title.gif" border=0 width="210" height="31"></a></td></tr></table>
<table border="0" cellpadding="1" cellspacing="0" bgcolor='#E1E1E1'>
<tr>
<td><table width="210" height="165" border="0" cellpadding="3" cellspacing="0" bgcolor='#FFFFFF'>
<tr>
<td align='center'>
<script>
cont = new scroll();
cont.name = "cont";
cont.height = 165;
cont.width = 210;
cont.scrollspeed = 20;
cont.pausedelay = 3000;
cont.pausemouseover = true;
<? for ($i=0; $i<count($list); $i++) { ?>
<?
$image = urlencode($list[$i][file][0][file]); // 첫번째 파일이 이미지라면
if (preg_match("/\.(gif|jpg|png)$/i", $image))
$data_path = $g4[path]."/data/file/$bo_table";
$thum_path = $data_path.'/thumb'; //썸네일경로
$thumb = $thum_path.'/'.$list[$i][wr_id];
if ( file_exists($thumb) )
{ // 썸네일
$img = "<img src='$thumb' width='210' height='165' border='0'>";
}
else {
$img = "<img src='$g4[path]/data/file/$bo_table/$image' width='210' height='165' border='0'>";
}
?>
cont.add("<a href='<?=$list[$i][href]?>'><?=$img?></a>");
<?}?>
cont.start(); </script>
</td>
</tr>
</table></td>
</tr>
</table>
</td>
</tr>
<tr><td><img src="<?=$latest_skin_path?>/img/end-1_1.gif" width="230" height="8"></td></tr>
</table>